--- a/tools/CMakeLists.txt Sun Apr 30 00:11:50 2017 +0200
+++ b/tools/CMakeLists.txt Sun Apr 30 00:28:17 2017 +0200
@@ -9,10 +9,10 @@
if(APPLE AND NOT SKIPBUNDLE)
find_package(Qt4 REQUIRED QUIET)
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)
find_package(OggVorbis REQUIRED)
find_package(PNG REQUIRED)