We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2a79a6 commit a497812Copy full SHA for a497812
CoreFoundation/CMakeLists.txt
@@ -326,6 +326,11 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL Darwin)
326
PRIVATE
327
-DDEPLOYMENT_TARGET_MACOSX)
328
elseif(CMAKE_SYSTEM_NAME STREQUAL Windows)
329
+ # NOTE(compnerd) we only support building with the dynamic CRT as using the
330
+ # static CRT causes problems for users of the library.
331
+ target_compile_definitions(CoreFoundation
332
+ PRIVATE
333
+ -D_DLL)
334
target_compile_definitions(CoreFoundation
335
336
-DDEPLOYMENT_TARGET_WINDOWS)
0 commit comments