summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-09-26 12:21:43 +0100
committerThomas Tanner <trtanner@btinternet.com>2015-09-26 12:21:43 +0100
commit364c385f1a5f71c3eb6a80b44c26ddd7af012ec8 (patch)
tree48083f2b8d9e914fcb96ed0e0857ac79a34994f8 /CMakeLists.txt
parent3c1c50fefc4245235ad2f92ac65efa5656f825cb (diff)
parent462c549f7725810e55131a62f731357c6b2396ae (diff)
Merge branch 'master' of https://github.com/TanninOne/modorganizer.git
# Conflicts: # .gitignore
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 00000000..cfd8f902
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,14 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
+
+SET(DEPENDENCIES_DIR CACHE PATH "")
+
+# hint to find qt in dependencies path
+SET(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)
+
+ADD_SUBDIRECTORY(src) \ No newline at end of file