Skip to content

Commit 7c3158e

Browse files
committed
build: correct dependencies for Windows
When building Foundation, ensure that we build CoreFoundationResources as we need to incorporate the build artifacts.
1 parent 155f1ce commit 7c3158e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ add_swift_library(Foundation
347347
${swift_optimization_flags}
348348
DEPENDS
349349
uuid
350-
CoreFoundation)
350+
CoreFoundation
351+
$<$<PLATFORM_ID:Windows>:CoreFoundationResources>)
351352

352353
if(NOT BUILD_SHARED_LIBS)
353354
set(Foundation_INTERFACE_LIBRARIES

0 commit comments

Comments
 (0)