summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-10-10 13:50:22 +0100
committerThomas Tanner <trtanner@btinternet.com>2015-10-10 13:50:22 +0100
commitc5876cb6a142dc228ff3e3c3a936699f58d6b2a0 (patch)
tree18ef66f1009cc4aa1dd6e57d3d9d33f4ce691efd /CMakeLists.txt
parente7b61cb485d9269b248bb031abab22fdfb23ed89 (diff)
parenta0eb00b6b6c49fdb4cadb5cc17e432ee2ecbbee7 (diff)
Merge remote-tracking branch 'TanninOne/master'
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cfd8f902..e255f2b8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,14 +1,14 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
-SET(DEPENDENCIES_DIR CACHE PATH "")
+PROJECT(organizer)
+SET(DEPENDENCIES_DIR CACHE PATH "")
# hint to find qt in dependencies path
-SET(CMAKE_PREFIX_PATH ${DEPENDENCIES_DIR}/qt5/lib/cmake)
+LIST(APPEND CMAKE_PREFIX_PATH ${DEPENDENCIES_DIR}/qt5/lib/cmake)
FILE(GLOB_RECURSE BOOST_ROOT ${DEPENDENCIES_DIR}/boost*/project-config.jam)
GET_FILENAME_COMPONENT(BOOST_ROOT ${BOOST_ROOT} DIRECTORY)
-FILE(GLOB_RECURSE ZLIB_ROOT ${DEPENDENCIES_DIR}/zlib*/zlib.h)
-GET_FILENAME_COMPONENT(ZLIB_ROOT ${ZLIB_ROOT} DIRECTORY)
+SET(ZLIB_ROOT ${DEPENDENCIES_DIR}/zlib)
ADD_SUBDIRECTORY(src) \ No newline at end of file