Commit d147b6cf authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

C++11: Enable c++11 support when building as part of OpenFlipper.

parent dda4b41c
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment