aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmake/FindZ3.cmake8
-rw-r--r--snap/snapcraft.yaml2
2 files changed, 4 insertions, 6 deletions
diff --git a/cmake/FindZ3.cmake b/cmake/FindZ3.cmake
index 8f3f9ee1..971d3b4b 100644
--- a/cmake/FindZ3.cmake
+++ b/cmake/FindZ3.cmake
@@ -1,9 +1,7 @@
find_path(Z3_INCLUDE_DIR z3++.h)
find_library(Z3_LIBRARY NAMES z3 )
-include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(Z3 DEFAULT_MSG Z3_LIBRARY Z3_INCLUDE_DIR)
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(Z3 DEFAULT_MSG Z3_LIBRARY Z3_INCLUDE_DIR)
-if(Z3_FOUND)
- set(Z3_LIBRARIES ${Z3_LIBRARY})
-endif()
+# TODO: Create IMPORTED library for Z3.
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index db976bc3..ea0f2ef5 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -26,7 +26,7 @@ parts:
source: .
source-type: git
plugin: cmake
- build-packages: [build-essential, libboost-all-dev]
+ build-packages: [build-essential, libboost-all-dev, libz3-dev]
stage-packages: [libicu55]
prepare: |
if git describe --exact-match --tags 2> /dev/null