From ab38cca082362ea9edfdf3a6796d7127907b983a Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Tue, 1 Jan 2019 20:32:05 -0600 Subject: [PATCH] Clipper uses constexpr, it should conform to at least C++11. Fixes a build error on osx --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b43a2bed7..3adc0a10c 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -249,6 +249,7 @@ target_compile_options(admesh PUBLIC -w) add_library(clipper STATIC ${LIBDIR}/clipper.cpp) +target_compile_features(clipper PUBLIC cxx_std_11) target_include_directories(clipper PUBLIC ${COMMON_INCLUDES}) target_compile_options(clipper PUBLIC -w)