Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenMesh
OpenMesh
Commits
d147b6cf
Commit
d147b6cf
authored
Nov 09, 2015
by
Hans-Christian Ebke
Browse files
C++11: Enable c++11 support when building as part of OpenFlipper.
parent
dda4b41c
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
d147b6cf
...
...
@@ -107,6 +107,12 @@ else()
set
(
OPENMESH_FOUND true PARENT_SCOPE
)
set
(
OPENMESH_LIBRARIES OpenMeshCore OpenMeshTools PARENT_SCOPE
)
set
(
OPENMESH_INCLUDE_DIRS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/src"
PARENT_SCOPE
)
set
(
OPENMESH_FLAGS
""
PARENT_SCOPE
)
if
(
NOT INHIBIT_CXX11_SUPPORT
)
if
(
CXX11_FOUND
)
set
(
OPENMESH_FLAGS
"
${
CXX11_FLAGS
}
;-DCPP11_ENABLED"
PARENT_SCOPE
)
endif
(
CXX11_FOUND
)
endif
(
NOT INHIBIT_CXX11_SUPPORT
)
# Also define variables provided by the old legacy finder.
set
(
OPENMESH_CORE_LIBRARY OpenMeshCore PARENT_SCOPE
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment