Commit c198ef58 authored by Max Lyon's avatar Max Lyon
Browse files

require c++11

parent 428ebfa7
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
# along with HexEx. If not, see <http://www.gnu.org/licenses/>. # along with HexEx. If not, see <http://www.gnu.org/licenses/>.
# #
cmake_minimum_required (VERSION 2.6) cmake_minimum_required (VERSION 3.1)
# Only set project name if not build from within another project. # Only set project name if not build from within another project.
if("${PROJECT_NAME}" STREQUAL "") if("${PROJECT_NAME}" STREQUAL "")
...@@ -62,6 +62,13 @@ add_library (HexExStatic STATIC ${SOURCES}) ...@@ -62,6 +62,13 @@ add_library (HexExStatic STATIC ${SOURCES})
target_link_libraries (HexEx ${LIBRARIES} OpenVolumeMesh) target_link_libraries (HexEx ${LIBRARIES} OpenVolumeMesh)
target_link_libraries (HexExStatic ${LIBRARIES} OpenVolumeMesh) target_link_libraries (HexExStatic ${LIBRARIES} OpenVolumeMesh)
set_target_properties(HexEx HexExStatic
PROPERTIES
CXX_STANDARD 11
CXX_STANDARD_REQUIRED YES
CXX_EXTENSIONS NO
)
# #
# In order for the exact predicates to work the compiler # In order for the exact predicates to work the compiler
# must not generate x87 FPU code as this leads to the use # must not generate x87 FPU code as this leads to the use
......
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