From 38544c29cc95d78cbcaba7c7bb8d02a125ffd3c4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Thu, 7 Apr 2011 10:14:50 +0100 Subject: [PATCH] Use QT includes and definitions in the gui subdirectory only. --- CMakeLists.txt | 2 -- gui/CMakeLists.txt | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d189597..d90f029 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -241,7 +241,5 @@ if (GLUT_INCLUDE_DIR) endif (GLUT_INCLUDE_DIR) if (QT4_FOUND AND QJSON_FOUND) - # Include the cmake file needed to use qt4 - include( ${QT_USE_FILE} ) add_subdirectory(gui) endif (QT4_FOUND AND QJSON_FOUND) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 632a441..ea35867 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -1,3 +1,6 @@ +# Include the cmake file needed to use qt4 +include( ${QT_USE_FILE} ) + set(qapitrace_SRCS apitrace.cpp apicalldelegate.cpp -- 2.43.0