summaryrefslogtreecommitdiffstats
path: root/Tests/SwiftOnly/SwiftPlugin/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/SwiftOnly/SwiftPlugin/CMakeLists.txt')
-rw-r--r--Tests/SwiftOnly/SwiftPlugin/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/SwiftOnly/SwiftPlugin/CMakeLists.txt b/Tests/SwiftOnly/SwiftPlugin/CMakeLists.txt
index 4069f16..2bfbc8a 100644
--- a/Tests/SwiftOnly/SwiftPlugin/CMakeLists.txt
+++ b/Tests/SwiftOnly/SwiftPlugin/CMakeLists.txt
@@ -1,5 +1,5 @@
add_executable(main main.swift)
set_target_properties(main PROPERTIES ENABLE_EXPORTS TRUE)
-add_library(plugin plugin.swift)
+add_library(plugin MODULE plugin.swift)
target_link_libraries(plugin PRIVATE main)