summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--gr-qtgui/CMakeLists.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b966d3313a..62eae906b6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -201,6 +201,7 @@ install(
########################################################################
# Add subdirectories (in order of deps)
########################################################################
+add_subdirectory(docs)
add_subdirectory(gruel)
add_subdirectory(gnuradio-core)
add_subdirectory(grc)
@@ -221,7 +222,6 @@ add_subdirectory(gr-vocoder)
add_subdirectory(gr-wxgui)
add_subdirectory(gnuradio-examples/grc)
add_subdirectory(gnuradio-examples/python)
-add_subdirectory(docs)
#finalize cpack after subdirs processed
include(GrPackage)
diff --git a/gr-qtgui/CMakeLists.txt b/gr-qtgui/CMakeLists.txt
index 3e870eee99..a8fead401a 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
########################################################################