Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
543a4e2c
Commit
543a4e2c
authored
5 years ago
by
Gerardo Tauriello
Browse files
Options
Downloads
Patches
Plain Diff
Try to force C++11 for older compilers.
parent
1f2dae67
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake_support/OST.cmake
+1
-1
1 addition, 1 deletion
cmake_support/OST.cmake
modules/doc/install.rst
+1
-1
1 addition, 1 deletion
modules/doc/install.rst
with
2 additions
and
2 deletions
cmake_support/OST.cmake
+
1
−
1
View file @
543a4e2c
...
...
@@ -897,7 +897,7 @@ macro(setup_compiler_flags)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-fno-strict-aliasing"
)
endif
()
#message(STATUS "GCC VERSION " ${_GCC_VERSION})
if
(
(
ENABLE_INFO OR ENABLE_GUI
)
AND
_GCC_VERSION LESS
"60"
)
if
(
_GCC_VERSION LESS
"60"
)
# for older compilers we need to enable C++11 for Qt5
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++11"
)
endif
()
...
...
This diff is collapsed.
Click to expand it.
modules/doc/install.rst
+
1
−
1
View file @
543a4e2c
...
...
@@ -23,7 +23,7 @@ the steps which we describe in detail below. In essence, these steps are:
Installing the Dependencies
--------------------------------------------------------------------------------
OpenStructure requires a
c
++11 enabled compiler (e.g. recent gcc/clang) and uses
OpenStructure requires a
C
++11 enabled compiler (e.g. recent gcc/clang) and uses
a bunch of open-source libraries. If you haven't already installed them, please
install them now! Where appropriate, the minimally required version is given in
parentheses.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment