cmake: Add missing Boost dependency
authorManuel Nickschas <sputnick@quassel-irc.org>
Tue, 20 Nov 2018 21:29:58 +0000 (22:29 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 20 Nov 2018 23:45:18 +0000 (00:45 +0100)
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
src/test/util/CMakeLists.txt

index 351c40c..f53988d 100644 (file)
@@ -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
index 802c209..15611d3 100644 (file)
@@ -7,6 +7,7 @@ target_sources(${TARGET} PRIVATE
 
 target_link_libraries(${TARGET}
     PUBLIC
+        Boost::boost
         Quassel::Common
         Quassel::Test::Global
 )