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.
1 parent 86810fe commit 9d2d5faCopy full SHA for 9d2d5fa
CMakeLists.txt
@@ -53,10 +53,9 @@ find_package(Foundation QUIET)
53
find_package(SQLite3 REQUIRED)
54
55
# Enable `package` modifier for the whole package.
56
+add_compile_options("$<$<COMPILE_LANGUAGE:Swift>:-package-name;SwiftPM>")
57
if(CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
- add_compile_options("$<$<COMPILE_LANGUAGE:Swift>:-package-name;SwiftPM>" -L/usr/local/lib)
58
-else()
59
- add_compile_options("$<$<COMPILE_LANGUAGE:Swift>:-package-name;SwiftPM>")
+ link_directories(/usr/local/lib)
60
endif()
61
62
add_subdirectory(BuildSupport/SwiftSyntax)
0 commit comments