aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Harz <dominik.harz@gmail.com>2018-11-08 19:12:47 +0800
committerDominik Harz <dominik.harz@gmail.com>2018-11-08 19:12:47 +0800
commit2b053ceeffdfeb5006d9c4de334b66a66f2c74d7 (patch)
tree85bd88c841221d7af418068bc0350e5a3ec076d7
parentfce1c3a9e74f636d9b714f2c34414128392cfaee (diff)
downloaddexon-solidity-2b053ceeffdfeb5006d9c4de334b66a66f2c74d7.tar
dexon-solidity-2b053ceeffdfeb5006d9c4de334b66a66f2c74d7.tar.gz
dexon-solidity-2b053ceeffdfeb5006d9c4de334b66a66f2c74d7.tar.bz2
dexon-solidity-2b053ceeffdfeb5006d9c4de334b66a66f2c74d7.tar.lz
dexon-solidity-2b053ceeffdfeb5006d9c4de334b66a66f2c74d7.tar.xz
dexon-solidity-2b053ceeffdfeb5006d9c4de334b66a66f2c74d7.tar.zst
dexon-solidity-2b053ceeffdfeb5006d9c4de334b66a66f2c74d7.zip
Fix cmake Z3 import issue for Fedora
-rw-r--r--cmake/FindZ3.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindZ3.cmake b/cmake/FindZ3.cmake
index 704f367e..c017cac2 100644
--- a/cmake/FindZ3.cmake
+++ b/cmake/FindZ3.cmake
@@ -1,5 +1,5 @@
if (USE_Z3)
- find_path(Z3_INCLUDE_DIR z3++.h)
+ find_path(Z3_INCLUDE_DIR NAMES z3++.h PATH_SUFFIXES z3)
find_library(Z3_LIBRARY NAMES z3 )
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Z3 DEFAULT_MSG Z3_LIBRARY Z3_INCLUDE_DIR)