Browse Source

sylvan is now compiled with c++14 as it depends on c++14 code now (change in carl)

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
5bfb6b817a
  1. 2
      resources/3rdparty/sylvan/CMakeLists.txt

2
resources/3rdparty/sylvan/CMakeLists.txt

@ -5,7 +5,7 @@ enable_testing()
option(SYLVAN_PORTABLE "If set, the created library will be portable." OFF) option(SYLVAN_PORTABLE "If set, the created library will be portable." OFF)
set(CMAKE_C_FLAGS "-O3 -Wextra -Wall -fno-strict-aliasing -std=gnu11 -fPIC") set(CMAKE_C_FLAGS "-O3 -Wextra -Wall -fno-strict-aliasing -std=gnu11 -fPIC")
set(CMAKE_CXX_FLAGS "-O3 -Wextra -Wall -fno-strict-aliasing -Wno-deprecated-register -std=gnu++11 -fPIC")
set(CMAKE_CXX_FLAGS "-O3 -Wextra -Wall -fno-strict-aliasing -Wno-deprecated-register -std=c++14 -fPIC")
if (NOT SYLVAN_PORTABLE) if (NOT SYLVAN_PORTABLE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native")

Loading…
Cancel
Save