mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-19 08:29:37 +00:00
Closes: https://bugs.gentoo.org/957762 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
15 lines
474 B
Diff
15 lines
474 B
Diff
--- 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()
|