We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 62c9a3d + 15141bc commit a9c71b5Copy full SHA for a9c71b5
cmake/modules/AddSwift.cmake
@@ -497,7 +497,7 @@ endfunction()
497
function(swift_target_link_search_directories target directories)
498
set(STLD_FLAGS "")
499
foreach(directory ${directories})
500
- set(STLD_FLAGS "${STLD_FLAGS} ${CMAKE_LIBRARY_PATH_FLAG}${directory}")
+ set(STLD_FLAGS "${STLD_FLAGS} \"${CMAKE_LIBRARY_PATH_FLAG}${directory}\"")
501
endforeach()
502
set_property(TARGET ${target} APPEND_STRING PROPERTY LINK_FLAGS ${STLD_FLAGS})
503
endfunction()
0 commit comments