|
@ -202,6 +202,14 @@ if(USE_CARL) |
|
|
find_package(carl QUIET) |
|
|
find_package(carl QUIET) |
|
|
endif() |
|
|
endif() |
|
|
if(carl_FOUND AND NOT STORM_FORCE_SHIPPED_CARL) |
|
|
if(carl_FOUND AND NOT STORM_FORCE_SHIPPED_CARL) |
|
|
|
|
|
get_target_property(carlLOCATION lib_carl LOCATION) |
|
|
|
|
|
if(${carlLOCATION} STREQUAL "carlLOCATION-NOTFOUND") |
|
|
|
|
|
message(SEND_ERROR "Library location for carl is not found, did you build carl?") |
|
|
|
|
|
elseif(EXISTS ${carlLOCATION}) |
|
|
|
|
|
#empty on purpose |
|
|
|
|
|
else() |
|
|
|
|
|
message(SEND_ERROR "File ${carlLOCATION} does not exist, did you build carl?") |
|
|
|
|
|
endif() |
|
|
set(STORM_SHIPPED_CARL OFF) |
|
|
set(STORM_SHIPPED_CARL OFF) |
|
|
set(STORM_HAVE_CARL ON) |
|
|
set(STORM_HAVE_CARL ON) |
|
|
message(STATUS "Storm - Use system version of carl.") |
|
|
message(STATUS "Storm - Use system version of carl.") |
|
|