diff --git a/Sources/CoreFoundation/CMakeLists.txt b/Sources/CoreFoundation/CMakeLists.txt index 9afac9e972..bb01502580 100644 --- a/Sources/CoreFoundation/CMakeLists.txt +++ b/Sources/CoreFoundation/CMakeLists.txt @@ -99,7 +99,8 @@ add_library(CoreFoundation STATIC CFWindowsUtilities.c CFXMLPreferencesDomain.c uuid.c) - +target_compile_definitions(CoreFoundation PRIVATE + $<$,$>>:CF_WINDOWS_EXECUTABLE_INITIALIZER>) target_include_directories(CoreFoundation PUBLIC include