hedgewars/CMakeLists.txt
branchqmlfrontend
changeset 12855 1b2b84315d27
parent 11699 83c40c1eb0e7
parent 12383 e3d9abcc427a
child 12857 90f927b4b9e1
--- 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)