mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-11 05:16:19 +03:00
Fix space handling for different paths.
E.g. on my machine LLVM is installed in folder C:\My Program Files\LLVM. Fixes part of issue #1465. (PR 1466 is required for complete fix.)
This commit is contained in:
parent
1508bafccc
commit
cb0f2e7e6a
4 changed files with 26 additions and 20 deletions
|
@ -178,7 +178,7 @@ else()
|
|||
# but code for it is not in shared library
|
||||
if("${LLVM_FIND_COMPONENTS}" MATCHES "tablegen")
|
||||
if (NOT "${LLVM_LIBRARIES}" MATCHES "LLVMTableGen")
|
||||
set(LLVM_LIBRARIES "${LLVM_LIBRARIES} -lLLVMTableGen")
|
||||
set(LLVM_LIBRARIES "${LLVM_LIBRARIES};-lLLVMTableGen")
|
||||
endif()
|
||||
endif()
|
||||
llvm_set(TARGETS_TO_BUILD targets-built)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue