We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5df17aa + 5c8581f commit 22fd302Copy full SHA for 22fd302
sdl2-sys/patches/SDL2-2.0.9-CMakeLists.txt.patch
@@ -1,11 +1,13 @@
1
--- CMakeLists.txt 2018-10-31 08:07:22.000000000 -0700
2
+++ CMakeLists.txt 2019-12-04 21:50:07.606700200 -0800
3
-@@ -1292,7 +1292,7 @@
4
- endif()
5
-
+@@ -1294,6 +1294,10 @@
6
# Libraries for Win32 native and MinGW
7
-- list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 shell32)
8
-+ list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 shell32 vcruntime)
9
+ list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 shell32)
+
++ if(MSVC AND NOT ${MSVC_VERSION} LESS 1920)
++ list(APPEND EXTRA_LIBS vcruntime)
++ endif()
10
++
11
# TODO: in configure.in the check for timers is set on
12
# cygwin | mingw32* - does this include mingw32CE?
13
+ if(SDL_TIMERS)
0 commit comments