mirror of
https://github.com/ziglang/zig.git
synced 2025-01-10 20:21:16 +00:00
add LLVM_LIBDIRS to link directories
This seems to be the only way to get the zig build to link against llvm libraries in a non-standard location.
This commit is contained in:
parent
4a921b2eba
commit
c2c34c09b9
@ -66,7 +66,7 @@ if(NOT LLVM_LIBRARIES)
|
||||
endif()
|
||||
|
||||
link_directories("${CMAKE_PREFIX_PATH}/lib")
|
||||
|
||||
link_directories("${LLVM_LIBDIRS}")
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(LLVM DEFAULT_MSG LLVM_LIBRARIES LLVM_INCLUDE_DIRS)
|
||||
|
Loading…
Reference in New Issue
Block a user