Skip to content

Commit

Permalink
Fix to finding of Z3 dependency package; more robust finding
Browse files Browse the repository at this point in the history
  • Loading branch information
Johanmyst committed Sep 6, 2024
1 parent 96dd944 commit 719a807
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions cmake/SVFConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,8 @@ message(STATUS "Found SVF Package:
SVF_CXX_STANDARD: ${SVF_CXX_STANDARD}
SVF_ENABLE_EXCEPTIONS: ${SVF_EABLE_EXCEPTIONS}")


include(CMakeFindDependencyMacro)


find_dependency(
# Find Z3 and its include directory from the top-level include file; try from CMake package first
find_package(
Z3
CONFIG
HINTS
Expand Down Expand Up @@ -111,6 +108,8 @@ else()
include_directories(SYSTEM ${Z3_INCLUDES})
endif()

include(CMakeFindDependencyMacro)

find_dependency(
LLVM
CONFIG
Expand Down

0 comments on commit 719a807

Please sign in to comment.