Browse Source

cmake use carl flag

Former-commit-id: 75ff508329
tempestpy_adaptions
sjunges 9 years ago
parent
commit
1d5faef301
  1. 4
      CMakeLists.txt

4
CMakeLists.txt

@ -27,6 +27,7 @@ option(STORM_USE_INTELTBB "Sets whether the Intel TBB libraries should be used."
option(STORM_USE_COTIRE "Sets whether Cotire should be used (for building precompiled headers)." OFF) option(STORM_USE_COTIRE "Sets whether Cotire should be used (for building precompiled headers)." OFF)
option(LINK_LIBCXXABI "Sets whether libc++abi should be linked." OFF) option(LINK_LIBCXXABI "Sets whether libc++abi should be linked." OFF)
option(USE_LIBCXX "Sets whether the standard library is libc++." OFF) option(USE_LIBCXX "Sets whether the standard library is libc++." OFF)
option(USE_CARL "Sets whether carl should be included." ON)
set(GUROBI_ROOT "" CACHE STRING "A hint to the root directory of Gurobi (optional).") set(GUROBI_ROOT "" CACHE STRING "A hint to the root directory of Gurobi (optional).")
set(Z3_ROOT "" CACHE STRING "A hint to the root directory of Z3 (optional).") set(Z3_ROOT "" CACHE STRING "A hint to the root directory of Z3 (optional).")
set(CUDA_ROOT "" CACHE STRING "The root directory of CUDA.") set(CUDA_ROOT "" CACHE STRING "The root directory of CUDA.")
@ -90,6 +91,7 @@ else()
set(ENABLE_MSAT ON) set(ENABLE_MSAT ON)
endif() endif()
if(USE_CARL)
find_package(carl QUIET) find_package(carl QUIET)
if(carl_FOUND) if(carl_FOUND)
set(STORM_HAVE_CARL ON) set(STORM_HAVE_CARL ON)
@ -99,6 +101,8 @@ find_package(smtrat QUIET)
if(smtrat_FOUND) if(smtrat_FOUND)
set(STORM_HAVE_SMTRAT ON) set(STORM_HAVE_SMTRAT ON)
endif() endif()
endif()
message(STATUS "StoRM - CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}") message(STATUS "StoRM - CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
message(STATUS "StoRM - CMAKE_BUILD_TYPE (ENV): $ENV{CMAKE_BUILD_TYPE}") message(STATUS "StoRM - CMAKE_BUILD_TYPE (ENV): $ENV{CMAKE_BUILD_TYPE}")

Loading…
Cancel
Save