hedgewars/CMakeLists.txt
changeset 12383 e3d9abcc427a
parent 11646 42d7f5dbd8dc
child 12855 1b2b84315d27
child 13904 99b265e0d1d0
--- 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)