File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 1 file changed +16
-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,10 @@ 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
+ Foundation
287
+ CoreFoundation )
285
288
286
289
if (ENABLE_TESTING )
287
290
add_swift_executable (xdgTestHelper
@@ -298,8 +301,10 @@ if(ENABLE_TESTING)
298
301
SWIFT_FLAGS
299
302
-I;${CMAKE_CURRENT_BINARY_DIR}/swift
300
303
-I;${ICU_INCLUDE_DIR}
301
- ${libdispatch_cflags} )
302
- add_dependencies (xdgTestHelper Foundation CoreFoundation )
304
+ ${libdispatch_cflags}
305
+ DEPENDS
306
+ Foundation
307
+ CoreFoundation )
303
308
304
309
add_swift_executable (TestFoundation
305
310
SOURCES
@@ -429,8 +434,11 @@ if(ENABLE_TESTING)
429
434
-I;${FOUNDATION_PATH_TO_XCTEST_BUILD}/swift
430
435
-I;${ICU_INCLUDE_DIR}
431
436
${libdispatch_cflags}
432
- ${swift_optimization_flags} )
433
- add_dependencies (TestFoundation Foundation CoreFoundation xdgTestHelper )
437
+ ${swift_optimization_flags}
438
+ DEPENDS
439
+ Foundation
440
+ CoreFoundation
441
+ xdgTestHelper )
434
442
435
443
add_custom_command (TARGET TestFoundation
436
444
POST_BUILD
You can’t perform that action at this time.
0 commit comments