Skip to content

Commit

Permalink
Merge pull request #618 from rintaro/testingmacros-rpath-platform
Browse files Browse the repository at this point in the history
[CMake] Fix CMake generator expression in RPATH of TestingMacros
  • Loading branch information
rintaro authored Aug 20, 2024
2 parents a90e8c5 + 6644c5d commit d01c406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TestingMacros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ else()
set(plugin_destination_dir "lib/swift/host/plugins")
# RPATH 'lib/swift/{system}' and 'lib/swift/host'
set_property(TARGET TestingMacros PROPERTY
INSTALL_RPATH "$ORIGIN/../../<LOWER_CASE:${CMAKE_SYSTEM_NAME}>;$ORIGIN/..")
INSTALL_RPATH "$ORIGIN/../../$<LOWER_CASE:${CMAKE_SYSTEM_NAME}>;$ORIGIN/..")
endif()

install(TARGETS TestingMacros
Expand Down

0 comments on commit d01c406

Please sign in to comment.