summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLePresidente <brian.alexander.munro@gmail.com>2017-10-19 11:24:20 +0200
committerLePresidente <brian.alexander.munro@gmail.com>2017-10-19 11:24:20 +0200
commit4689db76248166d8a4086952e4976bd6d74414fe (patch)
treeb6e8b8af034d5bb0b331bc1a96ec564f4c472153 /CMakeLists.txt
parent8bea68564007432d225175201eb8a41277d3574e (diff)
Fixed cmake to use the QTROOT Parameter instead of hard coding the directory,
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cfad37a7..a4abd62d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ PROJECT(organizer)
SET(DEPENDENCIES_DIR CACHE PATH "")
# hint to find qt in dependencies path
-LIST(APPEND CMAKE_PREFIX_PATH ${DEPENDENCIES_DIR}/qt5/lib/cmake)
+LIST(APPEND CMAKE_PREFIX_PATH ${QT_ROOT}/lib/cmake)
FILE(GLOB_RECURSE BOOST_ROOT ${DEPENDENCIES_DIR}/boost*/project-config.jam)
GET_FILENAME_COMPONENT(BOOST_ROOT ${BOOST_ROOT} DIRECTORY)