Skip to content

Commit bb3d74a

Browse files
committed
Fix which variables to check
1 parent 128a3f6 commit bb3d74a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtimes/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ include(CheckCXXCompilerFlag)
9090
# Determine whether we are in the runtimes/runtimes-bins directory of a
9191
# bootstrap build.
9292
set(LLVM_TREE_AVAILABLE OFF)
93-
if (LLVM_LIBRARY_OUTPUT_INTDIR AND LLVM_RUNTIME_OUTPUT_INTDIR AND PACKAGE_VERSION)
93+
if (LLVM_LIBRARY_DIR AND LLVM_TOOLS_BINARY_DIR AND PACKAGE_VERSION)
9494
set(LLVM_TREE_AVAILABLE ON)
9595
endif()
9696

0 commit comments

Comments
 (0)