--- a/hedgewars/CMakeLists.txt Tue Apr 25 21:00:44 2017 +0200
+++ b/hedgewars/CMakeLists.txt Sat Apr 29 23:45:14 2017 +0200
@@ -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)