[CMake][Win] Conditionally select DLL CRT or static CRT
[WebKit-https.git] / Source / cmake / OptionsAppleWin.cmake
index 47b8dee..ea8d827 100644 (file)
@@ -1,3 +1,7 @@
+# The static runtime is required for AppleWin due to WebKitSystemInterface.lib
+# being compiled with a static runtime.
+set(MSVC_STATIC_RUNTIME ON)
+
 include(OptionsWin)
 
 SET_AND_EXPOSE_TO_BUILD(USE_CF ON)