cmake: Add build-time dependency to Boost 1.56
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 24 Sep 2018 19:55:42 +0000 (21:55 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
We'll be using some Boost features in the future, so prepare the
build system to reflect that dependency.

CMakeLists.txt
INSTALL

index c0e89ba..b5164ca 100644 (file)
@@ -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
diff --git a/INSTALL b/INSTALL
index 2de2f75..2d5d58d 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -33,11 +33,10 @@ compiler is needed:
 
 Other compilers may work, but are not officially supported.
 
 
 Other compilers may work, but are not officially supported.
 
-Furthermore, CMake 3.5 or later is required.
-
 As Quassel is a Qt application, you need the Qt SDK, version 5.5 or higher.
 As Quassel is a Qt application, you need the Qt SDK, version 5.5 or higher.
-
-There are several optional dependencies; we will talk about that later.
+Furthermore, the Boost header-only libraries (at least version 1.56) and
+CMake 3.5 or later are required. CMake will tell you about any missing
+dependencies when configuring the project.
 
 Compiling Quassel - short version
 ---------------------------------
 
 Compiling Quassel - short version
 ---------------------------------