summarylogtreecommitdiffstats
path: root/spuce-qt-workaround.diff
blob: 1a575f538f314fd5cb2c2dbc19c143d3aa3fe7c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5a1fe0a..6ce4b17 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -28,10 +28,11 @@ SET(SPUCE_SOVER "${SPUCE_LIBVER}")
 set(SPUCE_VERSION "${SPUCE_LIBVER}")
 
 add_subdirectory(spuce)
-FIND_PACKAGE(Qt5 COMPONENTS Gui Core Widgets)
-if (NOT Qt5_FOUND)
-  message(STATUS "QT5 not found - will skip building QT5 Apps")
-endif()
+#FIND_PACKAGE(Qt5 COMPONENTS Gui Core Widgets)
+#if (NOT Qt5_FOUND)
+#  message(STATUS "QT5 not found - will skip building QT5 Apps")
+#endif()
+SET(Qt5_FOUND FALSE)
 cmake_dependent_option(ENABLE_GUI "Enable QT application" ON "Qt5_FOUND" OFF)
 add_feature_info(ENABLE_GUI ENABLE_GUI "This enables the QT applications to be built")
 if (ENABLE_GUI)