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 ed7b97b commit 7583081Copy full SHA for 7583081
Sources/FoundationMacros/CMakeLists.txt
@@ -43,8 +43,9 @@ target_link_libraries(FoundationMacros PUBLIC
43
SwiftSyntax::SwiftSyntaxBuilder
44
)
45
46
+# The macro is installed into lib/swift/host/plugins, but needs to load libraries from lib/swift/host and lib/swift/linx
47
set_target_properties(FoundationMacros PROPERTIES
- INSTALL_RPATH "$ORIGIN"
48
+ INSTALL_RPATH "$ORIGIN/../../../swift/linux:$ORIGIN/.."
49
INSTALL_REMOVE_ENVIRONMENT_RPATH ON)
50
51
target_compile_options(FoundationMacros PRIVATE -parse-as-library)
0 commit comments