summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <[email protected]>2015-10-22 20:34:33 +0200
committerDennis Nienhüser <[email protected]>2015-10-22 20:34:33 +0200
commit92dffb351ce5002c3dec48a5d5a582bbb5504a2b (patch)
tree56e910f85983f6d82599a606ee4a727996dee8a4
parent02cac232e9cf1ae45d2a941d2287d4de12e00e0d (diff)
Mark Qt5 libs as required
-rw-r--r--CMakeLists.txt32
1 files changed, 16 insertions, 16 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ad2c5b..9560ba2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,32 +57,32 @@ if(CMAKE_SYSTEM_NAME STREQUAL Android)
SET(QT_QMAKE_EXECUTABLE "$ENV{Qt5_android}/bin/qmake")
- find_package(Qt5Location)
- find_package(Qt5Positioning)
- find_package(Qt5Multimedia)
+ find_package(Qt5Location REQUIRED)
+ find_package(Qt5Positioning REQUIRED)
+ find_package(Qt5Multimedia REQUIRED)
set ( MARBLE_NO_WEBKIT TRUE )
else()
find_package(Qt5WebKit)
find_package(Qt5WebKitWidgets)
- find_package(Qt5DBus)
+ find_package(Qt5DBus REQUIRED)
if ( NOT Qt5WebKit_FOUND )
set ( MARBLE_NO_WEBKIT TRUE )
endif()
endif()
-find_package(Qt5Core)
-find_package(Qt5Xml)
-find_package(Qt5Network)
-find_package(Qt5Test)
-find_package(Qt5Script)
-find_package(Qt5Widgets)
-find_package(Qt5Svg)
-find_package(Qt5Sql)
-find_package(Qt5Concurrent)
-find_package(Qt5Quick)
-find_package(Qt5OpenGL)
-find_package(Qt5PrintSupport)
+find_package(Qt5Core REQUIRED)
+find_package(Qt5Xml REQUIRED)
+find_package(Qt5Network REQUIRED)
+find_package(Qt5Test REQUIRED)
+find_package(Qt5Script REQUIRED)
+find_package(Qt5Widgets REQUIRED)
+find_package(Qt5Svg REQUIRED)
+find_package(Qt5Sql REQUIRED)
+find_package(Qt5Concurrent REQUIRED)
+find_package(Qt5Quick REQUIRED)
+find_package(Qt5OpenGL REQUIRED)
+find_package(Qt5PrintSupport REQUIRED)
if(QTONLY)
# Forward the old QTONLY=TRUE option to the new WITH_KDE=FALSE