File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ let package = Package(
158
158
exclude: [ " CMakeLists.txt " ] ,
159
159
swiftSettings: [
160
160
. unsafeFlags( [ " -package-description-version " , " 999.0 " ] ) ,
161
- . unsafeFlags( [ " -enable-library-evolution " ] , . when ( platforms : [ . macOS ] ) )
161
+ . unsafeFlags( [ " -enable-library-evolution " ] ) ,
162
162
]
163
163
) ,
164
164
@@ -170,7 +170,7 @@ let package = Package(
170
170
exclude: [ " CMakeLists.txt " ] ,
171
171
swiftSettings: [
172
172
. unsafeFlags( [ " -package-description-version " , " 999.0 " ] ) ,
173
- . unsafeFlags( [ " -enable-library-evolution " ] , . when ( platforms : [ . macOS ] ) )
173
+ . unsafeFlags( [ " -enable-library-evolution " ] ) ,
174
174
]
175
175
) ,
176
176
Original file line number Diff line number Diff line change @@ -25,10 +25,10 @@ add_library(PackageDescription
25
25
26
26
target_compile_options (PackageDescription PUBLIC
27
27
$< $< COMPILE_LANGUAGE:Swift> :-package-description-version$< SEMICOLON> 999.0> )
28
+ target_compile_options (PackageDescription PUBLIC
29
+ $< $< COMPILE_LANGUAGE:Swift> :-enable-library-evolution> )
28
30
29
31
if (CMAKE_HOST_SYSTEM_NAME STREQUAL Darwin )
30
- target_compile_options (PackageDescription PUBLIC
31
- $< $< COMPILE_LANGUAGE:Swift> :-enable-library-evolution> )
32
32
set (SWIFT_INTERFACE_PATH ${CMAKE_BINARY_DIR} /pm/ManifestAPI/PackageDescription.swiftinterface )
33
33
target_compile_options (PackageDescription PUBLIC
34
34
$< $< COMPILE_LANGUAGE:Swift> :-emit-module-interface-path$< SEMICOLON> ${SWIFT_INTERFACE_PATH} > )
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ add_library(PackagePlugin SHARED
23
23
24
24
target_compile_options (PackagePlugin PUBLIC
25
25
$< $< COMPILE_LANGUAGE:Swift> :-package-description-version$< SEMICOLON> 999.0> )
26
+ target_compile_options (PackagePlugin PUBLIC
27
+ $< $< COMPILE_LANGUAGE:Swift> :-enable-library-evolution> )
26
28
27
29
if (CMAKE_HOST_SYSTEM_NAME STREQUAL Darwin )
28
- target_compile_options (PackagePlugin PUBLIC
29
- $< $< COMPILE_LANGUAGE:Swift> :-enable-library-evolution> )
30
30
set (SWIFT_INTERFACE_PATH ${CMAKE_BINARY_DIR} /pm/PluginAPI/PackagePlugin.swiftinterface )
31
31
target_compile_options (PackagePlugin PUBLIC
32
32
$< $< COMPILE_LANGUAGE:Swift> :-emit-module-interface-path$< SEMICOLON> ${SWIFT_INTERFACE_PATH} > )
You can’t perform that action at this time.
0 commit comments