aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-12-13 10:53:20 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-12-13 10:53:20 +0300
commitf80bfa9732312e74e2494ed81231d61c78f83350 (patch)
treee22430d36208d3460e6aff052701128ffed0736a /examples
parentd6f6848765f25a894103cccdbbd7e5f09d582236 (diff)
downloadlibADLMIDI-f80bfa9732312e74e2494ed81231d61c78f83350.tar.gz
libADLMIDI-f80bfa9732312e74e2494ed81231d61c78f83350.tar.bz2
libADLMIDI-f80bfa9732312e74e2494ed81231d61c78f83350.zip
Continue clean-up of CMake build
Diffstat (limited to 'examples')
-rw-r--r--examples/sdl2_audio/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/sdl2_audio/CMakeLists.txt b/examples/sdl2_audio/CMakeLists.txt
index 6061b92..45fd654 100644
--- a/examples/sdl2_audio/CMakeLists.txt
+++ b/examples/sdl2_audio/CMakeLists.txt
@@ -3,9 +3,8 @@ project(adlmidi_vlc_plugin C)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
-find_library(SDL2_LIBRARY SDL2 REQUIRED)
+find_package(SDL2 REQUIRED)
include_directories(${SDL2_INCLUDE_DIR})
-message("Found ${SDL2_LIBRARY}")
add_executable(adlmidi_sdl2_demo sdl2_sample.c)