File tree Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Expand file tree Collapse file tree 1 file changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -259,8 +259,9 @@ add_swift_library(Foundation
259
259
-I;${ICU_INCLUDE_DIR}
260
260
${libdispatch_cflags}
261
261
${swift_enable_testing}
262
- ${swift_optimization_flags} )
263
- add_dependencies (Foundation CoreFoundation )
262
+ ${swift_optimization_flags}
263
+ DEPENDS
264
+ CoreFoundation )
264
265
265
266
add_swift_executable (plutil
266
267
SOURCES
@@ -280,8 +281,9 @@ add_swift_executable(plutil
280
281
-I;${ICU_INCLUDE_DIR}
281
282
${libdispatch_cflags}
282
283
${swift_enable_testing}
283
- ${swift_optimization_flags} )
284
- add_dependencies (plutil Foundation CoreFoundation )
284
+ ${swift_optimization_flags}
285
+ DEPENDS
286
+ CoreFoundation )
285
287
286
288
if (ENABLE_TESTING )
287
289
add_swift_executable (xdgTestHelper
@@ -298,8 +300,9 @@ if(ENABLE_TESTING)
298
300
SWIFT_FLAGS
299
301
-I;${CMAKE_CURRENT_BINARY_DIR}/swift
300
302
-I;${ICU_INCLUDE_DIR}
301
- ${libdispatch_cflags} )
302
- add_dependencies (xdgTestHelper Foundation CoreFoundation )
303
+ ${libdispatch_cflags}
304
+ DEPENDS
305
+ CoreFoundation )
303
306
304
307
add_swift_executable (TestFoundation
305
308
SOURCES
@@ -429,8 +432,11 @@ if(ENABLE_TESTING)
429
432
-I;${FOUNDATION_PATH_TO_XCTEST_BUILD}/swift
430
433
-I;${ICU_INCLUDE_DIR}
431
434
${libdispatch_cflags}
432
- ${swift_optimization_flags} )
433
- add_dependencies (TestFoundation Foundation CoreFoundation xdgTestHelper )
435
+ ${swift_optimization_flags}
436
+ DEPENDS
437
+ Foundation
438
+ CoreFoundation
439
+ xdgTestHelper )
434
440
435
441
add_custom_command (TARGET TestFoundation
436
442
POST_BUILD
You can’t perform that action at this time.
0 commit comments