aboutsummaryrefslogtreecommitdiff
path: root/examples/sdl2_audio
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sdl2_audio')
-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)