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.
2 parents cfd7974 + a3db93e commit c21ef72Copy full SHA for c21ef72
Foundation/CMakeLists.txt
@@ -142,6 +142,12 @@ target_compile_options(Foundation PUBLIC
142
"SHELL:-Xcc -F${CMAKE_BINARY_DIR}")
143
target_compile_options(Foundation PRIVATE
144
"SHELL:-Xcc -I${ICU_INCLUDE_DIR}")
145
+if(CMAKE_SYSTEM_NAME STREQUAL Windows AND CMAKE_VERSION VERSION_LESS 3.16)
146
+ # Work around for CMake 15 which doesn't link in the resource file
147
+ # target properly
148
+ add_dependencies(Foundation CoreFoundationResources)
149
+ target_link_options(Foundation PRIVATE $<TARGET_OBJECTS:CoreFoundationResources>)
150
+endif()
151
if(ENABLE_TESTING)
152
153
-enable-testing)
0 commit comments