diff -r 01f88c3b7b66 -r 1b2b84315d27 hedgewars/CMakeLists.txt --- a/hedgewars/CMakeLists.txt Thu Aug 11 23:05:14 2016 +0300 +++ b/hedgewars/CMakeLists.txt Sun Dec 17 00:09:24 2017 +0100 @@ -1,10 +1,10 @@ enable_language(Pascal) find_package(SDL2 REQUIRED) -find_package(SDL2_image REQUIRED) -find_package(SDL2_net REQUIRED) -find_package(SDL2_ttf REQUIRED) -find_package(SDL2_mixer REQUIRED) +find_package(SDL2_image 2 REQUIRED) +find_package(SDL2_net 2 REQUIRED) +find_package(SDL2_ttf 2 REQUIRED) +find_package(SDL2_mixer 2 REQUIRED) include(CheckLibraryExists) include(${CMAKE_MODULE_PATH}/utils.cmake)