mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-24 02:07:53 +02:00
CMake: require Boost unit_test_framework
Even with `-DICINGA2_WITH_TESTS=ON -DBUILD_TESTING=ON` CLion (and likely not only it) doesn't recognize any test/ files as part of the project, nor allows them to run without the unit_test_framework.
This commit is contained in:
parent
a65f2d6b41
commit
5490dbe2c6
@ -172,7 +172,7 @@ else()
|
||||
set(LOGROTATE_CREATE "\n\tcreate 644 ${ICINGA2_USER} ${ICINGA2_GROUP}")
|
||||
endif()
|
||||
|
||||
find_package(Boost ${BOOST_MIN_VERSION} COMPONENTS coroutine context date_time filesystem iostreams thread system program_options regex REQUIRED)
|
||||
find_package(Boost ${BOOST_MIN_VERSION} COMPONENTS coroutine context date_time filesystem iostreams thread system program_options regex unit_test_framework REQUIRED)
|
||||
|
||||
# Boost.Coroutine2 (the successor of Boost.Coroutine)
|
||||
# (1) doesn't even exist in old Boost versions and
|
||||
|
Loading…
x
Reference in New Issue
Block a user