Skip to content

Commit e024f8b

Browse files
committed
Fix the macro install locations
1 parent 2e882c6 commit e024f8b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Sources/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,5 @@ add_subdirectory(Testing)
5050
if(NOT SwiftTesting_BuildMacrosAsExecutables)
5151
install(PROGRAMS "${INSTALL_DIR}/lib/libTestingMacros.dylib"
5252
# TODO: Finalize the install path
53-
ARCHIVE DESTINATION lib/swift/host/plugins
54-
LIBRARY DESTINATION lib/swift/host/plugins
55-
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
53+
DESTINATION lib/swift/host/plugins)
5654
endif()

Sources/TestingMacros/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ else()
6464
# This is not the plugin's actual, final install location -- it's only
6565
# relative to this external project's install dir. The final location is
6666
# determined by the "outer" project.
67-
install(TARGETS TestingMacros DESTINATION "")
67+
install(TARGETS TestingMacros)
6868
endif()
6969

7070
target_sources(TestingMacros PRIVATE

0 commit comments

Comments
 (0)