From fa161e17f1b84f3132bb494baac48cc88179e2be Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sun, 11 Dec 2011 18:16:17 -0800 Subject: qtgui: include QT_USE_FILE only when enabled --- gr-qtgui/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gr-qtgui/CMakeLists.txt') 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 ######################################################################## -- cgit