nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 22 lines 1.1 kB view raw
1diff --git a/CMakeLists.txt b/CMakeLists.txt 2index b0e7aac6f8f3..af17e62588fe 100644 3--- a/CMakeLists.txt 4+++ b/CMakeLists.txt 5@@ -57,7 +57,7 @@ if( LIBCLC_STANDALONE_BUILD OR CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DI 6 # Import required tools 7 if( NOT EXISTS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} ) 8 foreach( tool IN ITEMS clang llvm-as llvm-link opt ) 9- find_program( LLVM_TOOL_${tool} ${tool} PATHS ${LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH ) 10+ find_program( LLVM_TOOL_${tool} ${tool} PATHS ${LLVM_TOOLS_BINARY_DIR} ) 11 set( ${tool}_exe ${LLVM_TOOL_${tool}} ) 12 set( ${tool}_target ) 13 endforeach() 14@@ -93,7 +93,7 @@ if( EXISTS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} ) 15 # and custom tools. 16 foreach( tool IN ITEMS clang llvm-as llvm-link opt ) 17 find_program( LLVM_CUSTOM_TOOL_${tool} ${tool} 18- PATHS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} NO_DEFAULT_PATH ) 19+ PATHS ${LIBCLC_CUSTOM_LLVM_TOOLS_BINARY_DIR} ) 20 set( ${tool}_exe ${LLVM_CUSTOM_TOOL_${tool}} ) 21 set( ${tool}_target ) 22 endforeach()