Browse Source

fixing Z3 hint handling

tempestpy_adaptions
dehnert 7 years ago
parent
commit
e019bf19d1
  1. 4
      resources/3rdparty/CMakeLists.txt
  2. 2
      resources/cmake/find_modules/FindZ3.cmake

4
resources/3rdparty/CMakeLists.txt

@ -157,9 +157,9 @@ if(Z3_FOUND)
endif()
if(STORM_HAVE_Z3_OPTIMIZE)
message (STATUS "Storm - Linking with Z3. (Z3 version supports optimization)")
message (STATUS "Storm - Linking with Z3 (version ${Z3_VERSION}). (Z3 version supports optimization)")
else()
message (STATUS "Storm - Linking with Z3. (Z3 version does not support optimization)")
message (STATUS "Storm - Linking with Z3 (version ${Z3_VERSION}). (Z3 version does not support optimization)")
endif()
add_imported_library(z3 SHARED ${Z3_LIBRARIES} ${Z3_INCLUDE_DIRS})

2
resources/cmake/find_modules/FindZ3.cmake

@ -10,7 +10,7 @@
# find include dir by searching for a concrete file, which definitely must be in it
find_path(Z3_INCLUDE_DIR
NAMES z3++.h
PATHS ENV PATH INCLUDE "/usr/include/z3" "/usr/local/include/z3/" "${Z3_ROOT}/include"
PATHS ENV PATH INCLUDE "${Z3_ROOT}/include" "/usr/include/z3" "/usr/local/include/z3/"
)
# find library

Loading…
Cancel
Save