mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 16:44:29 +02:00
parent
56894bea17
commit
4ccc152990
@ -150,13 +150,15 @@ if(LOGROTATE_HAS_SU)
|
|||||||
set(LOGROTATE_USE_SU "\n\tsu ${ICINGA2_USER} ${ICINGA2_GROUP}")
|
set(LOGROTATE_USE_SU "\n\tsu ${ICINGA2_USER} ${ICINGA2_GROUP}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package(Boost ${BOOST_MIN_VERSION} COMPONENTS context coroutine date_time thread system program_options regex REQUIRED)
|
find_package(Boost ${BOOST_MIN_VERSION} COMPONENTS context coroutine date_time filesystem thread system program_options regex REQUIRED)
|
||||||
|
|
||||||
# Boost.Coroutine2 (the successor of Boost.Coroutine)
|
# Boost.Coroutine2 (the successor of Boost.Coroutine)
|
||||||
# (1) doesn't even exist in old Boost versions and
|
# (1) doesn't even exist in old Boost versions and
|
||||||
# (2) isn't supported by ASIO, yet.
|
# (2) isn't supported by ASIO, yet.
|
||||||
add_definitions(-DBOOST_COROUTINES_NO_DEPRECATION_WARNING)
|
add_definitions(-DBOOST_COROUTINES_NO_DEPRECATION_WARNING)
|
||||||
|
|
||||||
|
add_definitions(-DBOOST_FILESYSTEM_NO_DEPRECATED)
|
||||||
|
|
||||||
link_directories(${Boost_LIBRARY_DIRS})
|
link_directories(${Boost_LIBRARY_DIRS})
|
||||||
include_directories(${Boost_INCLUDE_DIRS})
|
include_directories(${Boost_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user