From 7c0eb0111b70089f563ee793e2b52036b76ca643 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Tue, 20 Nov 2018 22:29:58 +0100 Subject: [PATCH] cmake: Add missing Boost dependency Add a dependency to Boost in the modules that use Boost already, so Boost headers installed in a non-standard location are found. --- src/common/CMakeLists.txt | 1 + src/test/util/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 351c40c6..f53988d0 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -62,6 +62,7 @@ target_include_directories(${TARGET} PRIVATE ${CMAKE_BINARY_DIR}) target_link_libraries(${TARGET} PUBLIC ${CMAKE_DL_LIBS} + Boost::boost Qt5::Core Qt5::Network ZLIB::ZLIB diff --git a/src/test/util/CMakeLists.txt b/src/test/util/CMakeLists.txt index 802c2099..15611d34 100644 --- a/src/test/util/CMakeLists.txt +++ b/src/test/util/CMakeLists.txt @@ -7,6 +7,7 @@ target_sources(${TARGET} PRIVATE target_link_libraries(${TARGET} PUBLIC + Boost::boost Quassel::Common Quassel::Test::Global ) -- 2.20.1