summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gr-qtgui/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-qtgui/CMakeLists.txt b/gr-qtgui/CMakeLists.txt
index 3e870eee9..a8fead401 100644
--- a/gr-qtgui/CMakeLists.txt
+++ b/gr-qtgui/CMakeLists.txt
@@ -23,7 +23,6 @@
include(GrBoost)
find_package(Qt4 4.2.0 COMPONENTS QtCore QtGui)
-include(${QT_USE_FILE}) #sets up the environment
find_package(Qwt)
@@ -63,6 +62,8 @@ GR_SET_GLOBAL(GR_QTGUI_INCLUDE_DIRS
########################################################################
if(ENABLE_GR_QTGUI)
+include(${QT_USE_FILE}) #sets up the environment
+
########################################################################
# Setup CPack components
########################################################################