diff options
Diffstat (limited to 'sdlfix.patch')
-rw-r--r-- | sdlfix.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/sdlfix.patch b/sdlfix.patch deleted file mode 100644 index 600d09c2adc0..000000000000 --- a/sdlfix.patch +++ /dev/null @@ -1,35 +0,0 @@ -From fd6914f9cba6d7138b57c7fa6faa7437d9cbb639 Mon Sep 17 00:00:00 2001 -From: Kevin Zheng <kevinz5000@gmail.com> -Date: Sun, 15 Mar 2015 13:18:13 -0500 -Subject: [PATCH] Fix linking with SDL - ---- - CMakeLists.txt | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 4c5d2f3..2621a5a 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -912,7 +912,6 @@ if(USE_SDL_MAINLOOP OR (Audio_TK STREQUAL "SDL_Mixer")) - find_package(SDL) - SET(HAVE_SDL ${SDL_FOUND}) - include_directories(${SDL_INCLUDE_DIR}) -- target_link_libraries(openclonk ${SDL_LIBRARY}) - endif() - - ############################################################################ -@@ -1094,6 +1093,10 @@ target_link_libraries(openclonk - libmisc - ) - -+if (SDL_FOUND) -+ target_link_libraries(openclonk ${SDL_LIBRARY}) -+endif() -+ - if(Audio_FOUND) - target_link_libraries(openclonk ${Audio_LIBRARIES}) - include_directories(${Audio_INCLUDE_DIRS}) --- -2.1.4 - |