|
|
@ -401,9 +401,15 @@ endif() |
|
|
|
set(STORM_HAVE_MSAT ${ENABLE_MSAT}) |
|
|
|
if (ENABLE_MSAT) |
|
|
|
message (STATUS "Storm - Linking with MathSAT.") |
|
|
|
if(${OPERATING_SYSTEM} MATCHES "Linux") |
|
|
|
find_library(MSAT_LIB mathsat PATHS "${MSAT_ROOT}/lib") |
|
|
|
add_imported_library(msat SHARED ${MSAT_LIB} "${MSAT_ROOT}/include") |
|
|
|
list(APPEND STORM_DEP_TARGETS msat_SHARED) |
|
|
|
else() |
|
|
|
find_library(MSAT_LIB NAMES libmathsat${STATIC_EXT} mathsat PATHS "${MSAT_ROOT}/lib") |
|
|
|
add_imported_library(msat STATIC ${MSAT_LIB} "${MSAT_ROOT}/include") |
|
|
|
list(APPEND STORM_DEP_TARGETS msat_STATIC) |
|
|
|
endif() |
|
|
|
endif(ENABLE_MSAT) |
|
|
|
|
|
|
|
############################################################# |
|
|
|