Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove workaround for unsupported CMake versions #411

Merged
merged 1 commit into from
May 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,7 @@ endfunction()
# version is the bundled version!
if (CAF_ROOT)
message(STATUS "Using system CAF version ${CAF_VERSION}")
# TODO: drop < 3.12 compatibility check when raising the minimum CMake version
if (CMAKE_VERSION VERSION_LESS 3.12)
find_package(CAF REQUIRED COMPONENTS test io core net PATHS "${CAF_ROOT}")
else()
find_package(CAF REQUIRED COMPONENTS test io core net)
endif()
find_package(CAF REQUIRED COMPONENTS test io core net)
list(APPEND LINK_LIBS CAF::core CAF::io CAF::net)
set(BROKER_USE_EXTERNAL_CAF ON)
else ()
Expand Down
Loading