projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake: Add build-time dependency to Boost 1.56
[quassel.git]
/
CMakeLists.txt
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
413c46d
..
b5164ca
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-321,6
+321,13
@@
if (BUILD_CORE)
endif()
# Non-Qt-based packages
endif()
# Non-Qt-based packages
+#####################################################################
+
+find_package(Boost 1.56 REQUIRED)
+set_package_properties(Boost PROPERTIES TYPE REQUIRED
+ URL "https://www.boost.org/"
+ DESCRIPTION "Boost libraries for C++"
+)
find_package(ZLIB REQUIRED)
set_package_properties(ZLIB PROPERTIES TYPE REQUIRED
find_package(ZLIB REQUIRED)
set_package_properties(ZLIB PROPERTIES TYPE REQUIRED
@@
-530,3
+537,8
@@
feature_summary(WHAT ALL
#####################################################################
add_subdirectory(src)
#####################################################################
add_subdirectory(src)
+
+# Build tests if so desired
+if (BUILD_TESTING)
+ add_subdirectory(tests)
+endif()