Skip to content

Commit beee65b

Browse files
authored
Merge pull request #2404 from compnerd/flags-notworking
build: correct flags for FoundationNetworking
2 parents cce8e65 + f7abe5a commit beee65b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ add_swift_library(FoundationNetworking
358358
${deployment_enable_libdispatch}
359359
-I;${CMAKE_CURRENT_BINARY_DIR}/swift
360360
${libdispatch_cflags}
361-
${swift_enable_testing}
362-
${swift_optimization_flags}
361+
$<$<BOOL:ENABLE_TESTING>:-enable-testing>
362+
$<$<NOT:$<CONFIG:Debug>>:-O>
363363
DEPENDS
364364
uuid
365365
CoreFoundation

0 commit comments

Comments
 (0)