mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
[cmake][Windows] Add libpath to CMAKE_MODULE_LINKER_FLAGS too
Followup to b8000c0ce845, the library path needs to go in CMAKE_MODULE_LINKER_FLAGS too, for the sake of a few files like LLVMHello.dll. Reviewed By: hans Differential Revision: https://reviews.llvm.org/D82888
This commit is contained in:
parent
39aa7f6676
commit
960c068530
@ -911,6 +911,7 @@ if (CLANG_CL AND (LLVM_BUILD_INSTRUMENTED OR LLVM_USE_SANITIZER))
|
||||
file(TO_CMAKE_PATH "${clang_resource_dir}" clang_resource_dir)
|
||||
append("/libpath:${clang_resource_dir}/lib/windows"
|
||||
CMAKE_EXE_LINKER_FLAGS
|
||||
CMAKE_MODULE_LINKER_FLAGS
|
||||
CMAKE_SHARED_LINKER_FLAGS)
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user