We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33cbea4 + 2a89813 commit d546998Copy full SHA for d546998
Sources/SourceControl/CMakeLists.txt
@@ -6,7 +6,7 @@
6
# See http://swift.org/LICENSE.txt for license information
7
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
8
9
-add_library(SourceControl STATIC
+add_library(SourceControl
10
GitRepository.swift
11
Repository.swift
12
RepositoryManager.swift)
@@ -20,3 +20,9 @@ target_link_libraries(SourceControl PUBLIC
20
# NOTE(compnerd) workaround for CMake not setting up include flags yet
21
set_target_properties(SourceControl PROPERTIES
22
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
23
+
24
+install(TARGETS SourceControl
25
+ ARCHIVE DESTINATION lib
26
+ LIBRARY DESTINATION lib
27
+ RUNTIME DESTINATION bin)
28
+set_property(GLOBAL APPEND PROPERTY SwiftPM_EXPORTS SourceControl)
0 commit comments