Skip to content

Commit 43e524c

Browse files
xedincompnerd
authored andcommitted
[cmake] Turn SwiftFixIt into a static library
This is currently only intended to be used by a few commands and shouldn't be vended.
1 parent 063c917 commit 43e524c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Sources/SwiftFixIt/CMakeLists.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# See http://swift.org/LICENSE.txt for license information
77
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
88

9-
add_library(SwiftFixIt
9+
add_library(SwiftFixIt STATIC
1010
SwiftFixIt.swift)
1111
target_link_libraries(SwiftFixIt PUBLIC
1212
Basics
@@ -22,9 +22,3 @@ target_link_libraries(SwiftFixIt PUBLIC
2222
# NOTE(compnerd) workaround for CMake not setting up include flags yet
2323
set_target_properties(SwiftFixIt PROPERTIES
2424
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
25-
26-
install(TARGETS SwiftFixIt
27-
ARCHIVE DESTINATION lib
28-
LIBRARY DESTINATION lib
29-
RUNTIME DESTINATION bin)
30-
set_property(GLOBAL APPEND PROPERTY SwiftPM_EXPORTS SwiftFixIt)

0 commit comments

Comments
 (0)