diff options
author | Alexander Grund <alexander.grund@tu-dresden.de> | 2018-12-13 09:41:11 +0100 |
---|---|---|
committer | Alexander Grund <alexander.grund@tu-dresden.de> | 2018-12-13 09:41:11 +0100 |
commit | 9b27937a8da1a3d5a334a2016cb964e54887dd71 (patch) | |
tree | e22430d36208d3460e6aff052701128ffed0736a /utils/midiplay | |
parent | c43c8b1293f1766abfef5689c8d21fb0fd124f6f (diff) | |
download | libADLMIDI-9b27937a8da1a3d5a334a2016cb964e54887dd71.tar.gz libADLMIDI-9b27937a8da1a3d5a334a2016cb964e54887dd71.tar.bz2 libADLMIDI-9b27937a8da1a3d5a334a2016cb964e54887dd71.zip |
Revert "Put back "find_library" of SDL2"
This reverts commit c43c8b1293f1766abfef5689c8d21fb0fd124f6f.
Diffstat (limited to 'utils/midiplay')
-rw-r--r-- | utils/midiplay/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
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() |