Skip to content

Commit 943535f

Browse files
committed
Enable building as a static lib
1 parent dd2cf4c commit 943535f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/FoundationEssentials/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
##===----------------------------------------------------------------------===##
1414

1515
file(GLOB_RECURSE _FoundationEssentialsSources "*.swift")
16-
add_library(FoundationEssentials SHARED ${_FoundationEssentialsSources})
16+
add_library(FoundationEssentials ${_FoundationEssentialsSources})
1717

1818
# Depend on FoundationMacros
1919
add_dependencies(FoundationEssentials FoundationMacros)

Sources/FoundationInternationalization/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
##===----------------------------------------------------------------------===##
1414

1515
file(GLOB_RECURSE _FoundationInternationalizationSources "*.swift")
16-
add_library(FoundationInternationalization SHARED ${_FoundationInternationalizationSources})
16+
add_library(FoundationInternationalization ${_FoundationInternationalizationSources})
1717

1818
target_compile_options(FoundationInternationalization PRIVATE
1919
"SHELL:$<$<COMPILE_LANGUAGE:Swift>:-Xfrontend -enable-experimental-feature -Xfrontend AccessLevelOnImport>"

0 commit comments

Comments
 (0)