Skip to content

Commit

Permalink
Merge pull request #235 from rgkirch/patch-3
Browse files Browse the repository at this point in the history
fix build for windows by splitting libs on whitespace
  • Loading branch information
tomhrr authored Apr 17, 2024
2 parents e401ff0 + 1b7fd3d commit 0e877b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ endif ()
execute_process (COMMAND ${LLVM_CONFIG} --libs
OUTPUT_VARIABLE LLVM_LIBS
OUTPUT_STRIP_TRAILING_WHITESPACE)
separate_arguments(LLVM_LIBS NATIVE_COMMAND ${LLVM_LIBS})

if (${D_LLVM_VERSION_ORD} GREATER 34)
execute_process (COMMAND ${LLVM_CONFIG} --system-libs
OUTPUT_VARIABLE LLVM_SYSTEM_LIBS
Expand Down

0 comments on commit 0e877b7

Please sign in to comment.