Skip to content

Commit

Permalink
Remove workaround for unsupported CMake versions
Browse files Browse the repository at this point in the history
Since we have bumped the minimum CMake version to 3.15, we no longer
need to worry about older CMake version.
  • Loading branch information
Neverlord committed May 30, 2024
1 parent 627f1d3 commit ffd2b28
Showing 1 changed file with 1 addition and 6 deletions.
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

0 comments on commit ffd2b28

Please sign in to comment.