From f80bfa9732312e74e2494ed81231d61c78f83350 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Thu, 13 Dec 2018 10:53:20 +0300 Subject: Continue clean-up of CMake build --- utils/midiplay/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils/midiplay') diff --git a/utils/midiplay/CMakeLists.txt b/utils/midiplay/CMakeLists.txt index ac5d4c2..8aef37f 100644 --- a/utils/midiplay/CMakeLists.txt +++ b/utils/midiplay/CMakeLists.txt @@ -4,9 +4,8 @@ project(adlmidiplay CXX) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) if(NOT MSDOS AND NOT DJGPP AND NOT MIDIPLAY_WAVE_ONLY) - find_library(SDL2_LIBRARY SDL2 REQUIRED) + find_package(SDL2 REQUIRED) include_directories(${SDL2_INCLUDE_DIR}) - message("Found ${SDL2_LIBRARY}") else() unset(SDL2_LIBRARY) endif() -- cgit v1.2.3