-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt.patch
36 lines (35 loc) · 1.08 KB
/
CMakeLists.txt.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 06637173..c17fcd3f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -130,6 +130,7 @@ else()
# 1. Dependencies
find_package(Threads REQUIRED)
+find_package(Qt5 COMPONENTS Core)
# 2. Includes
include_directories( ${CMAKE_CURRENT_SOURCE_DIR})
# 3. Build
@@ -160,6 +161,7 @@ if (INDI_BUILD_CLIENT AND NOT ANDROID)
find_package(Threads REQUIRED)
find_package(ZLIB REQUIRED)
find_package(CFITSIO REQUIRED)
+find_package(Qt5 COMPONENTS Core)
# 2. Includes
include_directories( ${CMAKE_CURRENT_BINARY_DIR})
include_directories( ${CMAKE_CURRENT_SOURCE_DIR})
@@ -219,6 +221,7 @@ if (ANDROID)
set(CFITSIO_LIBRARIES ${CFITSIO_DIR}/libcfitsio.a)
endif ()
else ()
+ find_package(Qt5 COMPONENTS Core)
find_package(Qt5Network REQUIRED)
find_package(ZLIB REQUIRED)
find_package(CFITSIO REQUIRED)
@@ -297,6 +300,7 @@ find_package(USB1 REQUIRED)
find_package(CURL REQUIRED)
find_package(GSL REQUIRED)
find_package(JPEG REQUIRED)
+find_package(Qt5 COMPONENTS Core)
# Math Library
FIND_LIBRARY(M_LIB m)
# 2. Includes