Skip to content

Commit

Permalink
cmake: Add build-time dependency to Boost 1.56
Browse files Browse the repository at this point in the history
We'll be using some Boost features in the future, so prepare the
build system to reflect that dependency.
  • Loading branch information
Sput42 committed Nov 18, 2018
1 parent 05d41a4 commit 30b159c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,13 @@ if (BUILD_CORE)
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
Expand Down
7 changes: 3 additions & 4 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ compiler is needed:

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.

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
---------------------------------
Expand Down

0 comments on commit 30b159c

Please sign in to comment.