Skip to content

Commit 718a2c9

Browse files
committed
Add support for LLVM_NATIVE_TOOL_DIR flag
1 parent e290f0f commit 718a2c9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎build/HunterPackages.cmake‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ set(HUNTER_LLVM_CMAKE_ARGS
5858
LLVM_TARGETS_TO_BUILD=host
5959
)
6060

61+
if(LLVM_NATIVE_TOOL_DIR)
62+
set(HUNTER_LLVM_CMAKE_ARGS ${HUNTER_LLVM_CMAKE_ARGS} LLVM_NATIVE_TOOL_DIR=${LLVM_NATIVE_TOOL_DIR})
63+
endif()
64+
6165
if(CMAKE_BUILD_TYPE EQUAL "Debug")
6266
set(HUNTER_LLVM_CMAKE_ARGS ${HUNTER_LLVM_CMAKE_ARGS} LLVM_ENABLE_ASSERTIONS=ON)
6367
else()

0 commit comments

Comments
 (0)