Skip to content

Commit 637ec6a

Browse files
committed
Don't specify explicit linkage for CMake targets
1 parent a3273b6 commit 637ec6a

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Sources/BuildServerProtocol/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
add_library(BuildServerProtocol STATIC
1+
add_library(BuildServerProtocol
22
Messages.swift
33

44
Messages/BuildShutdownRequest.swift

Sources/LanguageServerProtocol/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
add_library(LanguageServerProtocol STATIC
1+
add_library(LanguageServerProtocol
22
Connection.swift
33
CustomCodable.swift
44
Error.swift

Sources/LanguageServerProtocolTransport/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
add_library(LanguageServerProtocolTransport STATIC
1+
add_library(LanguageServerProtocolTransport
22
BuildServerMessageDependencyTracker.swift
33
DisableSigpipe.swift
44
DocumentURI+CustomLogStringConvertible.swift

Sources/SKLogging/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ set(sources
88
SetGlobalLogFileHandler.swift
99
SplitLogMessage.swift)
1010

11-
add_library(SKLogging STATIC ${sources})
11+
add_library(SKLogging ${sources})
1212
set_target_properties(SKLogging PROPERTIES
1313
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
1414
target_link_libraries(SKLogging PRIVATE
1515
$<$<NOT:$<PLATFORM_ID:Darwin>>:Foundation>)
1616
target_link_libraries(SKLogging PUBLIC
1717
ToolsProtocolsSwiftExtensions)
1818

19-
add_library(_SKLoggingForPlugin STATIC ${sources})
19+
add_library(_SKLoggingForPlugin ${sources})
2020
set_target_properties(_SKLoggingForPlugin PROPERTIES
2121
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
2222
target_compile_options(_SKLoggingForPlugin PRIVATE

Sources/ToolsProtocolsSwiftExtensions/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ set(sources
1212
URLExtensions.swift
1313
)
1414

15-
add_library(ToolsProtocolsSwiftExtensions STATIC ${sources})
15+
add_library(ToolsProtocolsSwiftExtensions ${sources})
1616
set_target_properties(ToolsProtocolsSwiftExtensions PROPERTIES
1717
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
1818
target_link_libraries(ToolsProtocolsSwiftExtensions PUBLIC
1919
ToolsProtocolsCAtomics)
2020
target_link_libraries(ToolsProtocolsSwiftExtensions PRIVATE
2121
$<$<NOT:$<PLATFORM_ID:Darwin>>:Foundation>)
2222

23-
add_library(_ToolsProtocolsSwiftExtensionsForPlugin STATIC ${sources})
23+
add_library(_ToolsProtocolsSwiftExtensionsForPlugin ${sources})
2424
set_target_properties(_ToolsProtocolsSwiftExtensionsForPlugin PROPERTIES
2525
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})
2626
target_link_libraries(_ToolsProtocolsSwiftExtensionsForPlugin PUBLIC

0 commit comments

Comments
 (0)