|
|
@ -6,20 +6,19 @@ find_package(storm REQUIRED) |
|
|
|
# Set configuration |
|
|
|
set(STORM_DIR ${storm_DIR}) |
|
|
|
set(STORM_VERSION ${storm_VERSION}) |
|
|
|
set(STORM_LIBS ${storm_LIBRARIES}) |
|
|
|
|
|
|
|
# Check for storm-pars |
|
|
|
if(EXISTS "${storm_DIR}/lib/libstorm-pars.dylib") |
|
|
|
set(HAVE_STORM_PARS TRUE) |
|
|
|
elseif(EXISTS "${storm_DIR}/lib/libstorm-pars.so") |
|
|
|
find_library(STORM_PARS NAMES storm-pars HINTS "${storm_DIR}/lib/") |
|
|
|
if(STORM_PARS) |
|
|
|
set(HAVE_STORM_PARS TRUE) |
|
|
|
else() |
|
|
|
set(HAVE_STORM_PARS FALSE) |
|
|
|
endif() |
|
|
|
|
|
|
|
# Check for storm-dft |
|
|
|
if(EXISTS "${storm_DIR}/lib/libstorm-dft.dylib") |
|
|
|
set(HAVE_STORM_DFT TRUE) |
|
|
|
elseif(EXISTS "${storm_DIR}/lib/libstorm-dft.so") |
|
|
|
find_library(STORM_DFT NAMES storm-dft HINTS "${storm_DIR}/lib/") |
|
|
|
if(STORM_DFT) |
|
|
|
set(HAVE_STORM_DFT TRUE) |
|
|
|
else() |
|
|
|
set(HAVE_STORM_DFT FALSE) |
|
|
|