]> git.cworth.org Git - vogl/commitdiff
vogleditor: Replace hardcoded Qt path with variables generated by cmake's Qt module
authorAndrew Wong <andrew.kw.w@gmail.com>
Thu, 13 Mar 2014 21:04:54 +0000 (17:04 -0400)
committerCarl Worth <cworth@cworth.org>
Tue, 1 Apr 2014 18:39:40 +0000 (11:39 -0700)
src/vogleditor/CMakeLists.txt

index ca80dfd8f6c1439b8e8fdabffec5996397c8e8d3..2dc839e284e345357b9dacd9618c8a1dd808c93b 100644 (file)
@@ -13,9 +13,9 @@ include_directories(
     ${SRC_DIR}/extlib/loki/include/loki
     ${SRC_DIR}/libtelemetry
     ${CMAKE_CURRENT_BINARY_DIR}
-    /usr/local/Trolltech/Qt-4.8.5/include
-    /usr/local/Trolltech/Qt-4.8.5/include/QtCore
-    /usr/local/Trolltech/Qt-4.8.5/include/QtGui
+    ${QT_INCLUDE_DIR}
+    ${QT_QTCORE_INCLUDE_DIR}
+    ${QT_QTGUI_INCLUDE_DIR}
 )
 
 #include(${QT_USE_FILE})