Add missing Boost include directory
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 31 Dec 2025 10:36:53 +0000 (11:36 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Wed, 31 Dec 2025 11:09:24 +0000 (12:09 +0100)
Otherwise it defaults to /usr/include. During upgrades,
we want it to pick it up from /opt/boost/include.

CMakeLists.txt

index 8c0eac7..308f85e 100644 (file)
@@ -135,6 +135,7 @@ include(FindPkgConfig)
 
 # Find Boost
 find_package(Boost 1.44 COMPONENTS iostreams unit_test_framework thread REQUIRED)
+include_directories(${Boost_INCLUDE_DIRS})
 
 # Find pcrecpp
 pkg_check_modules(PCRECPP REQUIRED libpcrecpp)