diff options
Diffstat (limited to 'utils/google-benchmark/cmake/llvm-toolchain.cmake')
-rw-r--r-- | utils/google-benchmark/cmake/llvm-toolchain.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/google-benchmark/cmake/llvm-toolchain.cmake b/utils/google-benchmark/cmake/llvm-toolchain.cmake new file mode 100644 index 000000000000..fc119e52fd26 --- /dev/null +++ b/utils/google-benchmark/cmake/llvm-toolchain.cmake @@ -0,0 +1,8 @@ +find_package(LLVMAr REQUIRED) +set(CMAKE_AR "${LLVMAR_EXECUTABLE}" CACHE FILEPATH "" FORCE) + +find_package(LLVMNm REQUIRED) +set(CMAKE_NM "${LLVMNM_EXECUTABLE}" CACHE FILEPATH "" FORCE) + +find_package(LLVMRanLib REQUIRED) +set(CMAKE_RANLIB "${LLVMRANLIB_EXECUTABLE}" CACHE FILEPATH "" FORCE) |