File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 6
6
# See http://swift.org/LICENSE.txt for license information
7
7
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
8
8
9
- add_library (SwiftFixIt STATIC
9
+ add_library (SwiftFixIt
10
10
SwiftFixIt.swift )
11
11
target_link_libraries (SwiftFixIt PUBLIC
12
12
Basics
@@ -17,8 +17,14 @@ target_link_libraries(SwiftFixIt PUBLIC
17
17
SwiftSyntax::SwiftSyntax
18
18
19
19
TSCBasic
20
- TSCUtility
21
- )
20
+ TSCUtility )
22
21
22
+ # NOTE(compnerd) workaround for CMake not setting up include flags yet
23
23
set_target_properties (SwiftFixIt PROPERTIES
24
24
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 )
You can’t perform that action at this time.
0 commit comments