Fix outdated Qt CMake dependency for OS X
authorWuzzy <Wuzzy2@mail.ru>
Thu, 19 Apr 2018 14:07:56 +0200
changeset 13338 0b12b0d0d12c
parent 13337 bb074fa5c532
child 13339 450e37b2b4d4
Fix outdated Qt CMake dependency for OS X
tools/CMakeLists.txt
--- a/tools/CMakeLists.txt	Wed Apr 18 17:12:23 2018 +0200
+++ b/tools/CMakeLists.txt	Thu Apr 19 14:07:56 2018 +0200
@@ -7,7 +7,7 @@
 endif()
 
 if(APPLE AND NOT SKIPBUNDLE)
-    find_package(Qt4 REQUIRED QUIET)
+    find_package(Qt5 REQUIRED QUIET COMPONENTS Core Widgets Gui Network)
     find_package(SDL2 REQUIRED)
     find_package(SDL2_image 2 REQUIRED)
     find_package(SDL2_net 2 REQUIRED)