]> git.cworth.org Git - apitrace/commitdiff
Use QT includes and definitions in the gui subdirectory only.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 7 Apr 2011 09:14:50 +0000 (10:14 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Thu, 7 Apr 2011 09:14:50 +0000 (10:14 +0100)
CMakeLists.txt
gui/CMakeLists.txt

index d189597779d0c6ee2a035d0918e4d50741af94ed..d90f029cfb92c4b90b6f75e4ba36504dea9476ae 100644 (file)
@@ -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)
index 632a441447a192bfa670f46e8ee8f80d4826cabb..ea35867d934ec418da7b2469ca895ed6502b895f 100644 (file)
@@ -1,3 +1,6 @@
+# Include the cmake file needed to use qt4
+include( ${QT_USE_FILE} )
+
 set(qapitrace_SRCS
    apitrace.cpp
    apicalldelegate.cpp