aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-12-13 11:03:37 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-12-13 11:03:37 +0300
commitc43c8b1293f1766abfef5689c8d21fb0fd124f6f (patch)
treef57cff956827380e75dcb2151e2be369418fff08 /examples
parentf80bfa9732312e74e2494ed81231d61c78f83350 (diff)
downloadlibADLMIDI-c43c8b1293f1766abfef5689c8d21fb0fd124f6f.tar.gz
libADLMIDI-c43c8b1293f1766abfef5689c8d21fb0fd124f6f.tar.bz2
libADLMIDI-c43c8b1293f1766abfef5689c8d21fb0fd124f6f.zip
Put back "find_library" of SDL2
Unfortunately, the "find_package" fails on some cases
Diffstat (limited to 'examples')
-rw-r--r--examples/sdl2_audio/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/sdl2_audio/CMakeLists.txt b/examples/sdl2_audio/CMakeLists.txt
index 45fd654..6061b92 100644
--- a/examples/sdl2_audio/CMakeLists.txt
+++ b/examples/sdl2_audio/CMakeLists.txt
@@ -3,8 +3,9 @@ project(adlmidi_vlc_plugin C)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
-find_package(SDL2 REQUIRED)
+find_library(SDL2_LIBRARY SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIR})
+message("Found ${SDL2_LIBRARY}")
add_executable(adlmidi_sdl2_demo sdl2_sample.c)