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 0b0d140 + 71fe672 commit 1e8a570Copy full SHA for 1e8a570
products/llbuildSwift/CMakeLists.txt
@@ -43,9 +43,14 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
43
else()
44
target_link_libraries(llbuildSwift PRIVATE
45
SQLite::SQLite3)
46
- target_link_libraries(llbuildSwift PRIVATE
47
- swiftDispatch
48
- Foundation)
+ if(dispatch_FOUND)
+ target_link_libraries(llbuildSwift PRIVATE
+ swiftDispatch)
49
+ endif()
50
+ if(Foundation_FOUND)
51
52
+ Foundation)
53
54
if(NOT CMAKE_SYSTEM_NAME STREQUAL Windows)
55
target_link_options(llbuildSwift PRIVATE "SHELL:-no-toolchain-stdlib-rpath")
56
set_target_properties(llbuildSwift PROPERTIES
0 commit comments