From: José Fonseca Date: Thu, 7 Apr 2011 09:14:50 +0000 (+0100) Subject: Use QT includes and definitions in the gui subdirectory only. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=38544c29cc95d78cbcaba7c7bb8d02a125ffd3c4;p=apitrace Use QT includes and definitions in the gui subdirectory only. --- 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