Skip to content

Commit a1df5dd

Browse files
committed
Revert accidentally pushed private tweak
1 parent 6e86b4b commit a1df5dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/cmake/modules/FindZ3.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ endif()
8383

8484
# If the dynamic check fails, we might be cross compiling: if that's the case,
8585
# check the version in the headers, otherwise, fail with a message
86-
if(NOT Z3_VERSION_STRING AND (
86+
if(NOT Z3_VERSION_STRING AND (CMAKE_CROSSCOMPILING AND
8787
Z3_INCLUDE_DIR AND
8888
EXISTS "${Z3_INCLUDE_DIR}/z3_version.h"))
8989
# TODO: print message warning that we couldn't find a compatible lib?

0 commit comments

Comments
 (0)