Skip to content

Commit e5140bf

Browse files
committed
Updated find_package(boost).
1 parent 515d2a9 commit e5140bf

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

cmake/dependencies/boost.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
if (CMAKE_VERSION VERSION_LESS "3.30")
2-
find_package(Boost 1.81.0 REQUIRED COMPONENTS system)
2+
find_package(Boost 1.81.0 REQUIRED OPTIONAL_COMPONENTS system)
33
else()
4-
find_package(Boost CONFIG 1.81.0 REQUIRED COMPONENTS system)
4+
find_package(Boost CONFIG 1.81.0 REQUIRED OPTIONAL_COMPONENTS system)
55
endif()

src/roar/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ target_include_directories(roar PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../../include
3939
${CURL_INCLUDE_DIR})
4040
target_link_libraries(
4141
roar
42-
PUBLIC Boost::system
42+
PUBLIC Boost::boost
4343
promise
4444
roar-cryptopp
4545
CURL::libcurl

0 commit comments

Comments
 (0)