File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -316,6 +316,15 @@ add_framework(CoreFoundation
316
316
URL.subproj/CFURLComponents.c
317
317
URL.subproj/CFURLComponents_URIParser.c
318
318
URL.subproj/CFURLSessionInterface.c )
319
+ if (CMAKE_SYSTEM_NAME STREQUAL Windows )
320
+ # NOTE(compnerd) the WindowsOlsonMapping.plist and OlsonWindowsMapping.plist
321
+ # are embedded Windows resources that we use to map the Windows timezone to
322
+ # the Olson name. Ensure that we rebuild on regeneration of the files.
323
+ add_custom_target (CoreFoundationWindowsTimeZonesPLists DEPENDS
324
+ WindowsOlsonMapping.plist
325
+ OlsonWindowsMapping.plist )
326
+ add_dependencies (CoreFoundation CoreFoundationWindowsTimeZonesPLists )
327
+ endif ()
319
328
if (CMAKE_SYSTEM_NAME STREQUAL Linux OR CMAKE_SYSTEM_NAME STREQUAL Android )
320
329
target_compile_definitions (CoreFoundation
321
330
PRIVATE
You can’t perform that action at this time.
0 commit comments