From: Andrew Wong <andrew.kw.w@gmail.com>
Date: Thu, 13 Mar 2014 21:04:54 +0000 (-0400)
Subject: vogleditor: Replace hardcoded Qt path with variables generated by cmake's Qt module
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=9dcebfcee2cb0a4e2a3f9d6abfb1852ef92edadd;p=vogl

vogleditor: Replace hardcoded Qt path with variables generated by cmake's Qt module
---

diff --git a/src/vogleditor/CMakeLists.txt b/src/vogleditor/CMakeLists.txt
index ca80dfd..2dc839e 100644
--- a/src/vogleditor/CMakeLists.txt
+++ b/src/vogleditor/CMakeLists.txt
@@ -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})