X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=src%2Fvogleditor%2FCMakeLists.txt;h=15996cb82595d57d9b3ce0b52ae7e6394c876d5a;hb=c6c85f04ff9dd1845857c9e5eb25e4287736dc29;hp=ca80dfd8f6c1439b8e8fdabffec5996397c8e8d3;hpb=efdbc27f2074c559c8bbd4c118c45fda53e7aa7a;p=vogl diff --git a/src/vogleditor/CMakeLists.txt b/src/vogleditor/CMakeLists.txt index ca80dfd..15996cb 100644 --- a/src/vogleditor/CMakeLists.txt +++ b/src/vogleditor/CMakeLists.txt @@ -2,7 +2,6 @@ project(vogleditor) cmake_minimum_required(VERSION 2.8.9) include("${SRC_DIR}/build_options.cmake") -set (QT_QMAKE_EXECUTABLE "/usr/local/Trolltech/Qt-4.8.5/bin/qmake") find_package(Qt4 REQUIRED) include_directories( @@ -13,9 +12,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})