blob: b7674c4d02abc1aa852250c4a247ed9a48c238d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -156,11 +156,7 @@
message(STATUS "Enabled MIDI support (WinMM)")
add_subdirectory(src/midi)
else()
- # Workaround for SDL bug #3295, which occurs in SDL2 <2.0.5
- # https://bugzilla.libsdl.org/show_bug.cgi?id=3295
- cmake_policy(SET CMP0004 OLD)
-
- find_package(SDL2 REQUIRED)
+ find_package(SDL2 2.0.5 REQUIRED)
endif()
# Prefer static linkage under OS X for libraries located with find_package()
|