Skip to content

Commit

Permalink
Updated cmake files for new versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
5cript committed Jul 7, 2024
1 parent f88b5f4 commit 0a484c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cmake/dependencies/boost.cmake
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
find_package(Boost 1.81.0 REQUIRED COMPONENTS system)
if (CMAKE_VERSION VERSION_LESS "3.29.0")
find_package(Boost 1.81.0 REQUIRED COMPONENTS system)
else()
find_package(Boost CONFIG 1.81.0 REQUIRED COMPONENTS system)
endif()
2 changes: 1 addition & 1 deletion cmake/dependencies/xhawk18_promise.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set(PROMISE_MULTITHREAD on CACHE BOOL "Promise multithreading on")

option(ROAR_EXTERNAL_PROMISE "Use an external promise library (provide it manually)" OFF)
set(ROAR_PROMISE_GIT_REPOSITORY "https://github.com/5cript/promise-cpp.git" CACHE STRING "The URL from which to clone the promiselib repository")
set(ROAR_PROMISE_GIT_TAG "87516e31edcdc55de67af75e374c9530ec17a622" CACHE STRING "The git tag or commit hash to checkout from the promiselib repository")
set(ROAR_PROMISE_GIT_TAG "dfec4c3b579d721a85eb594484c5e4417977a030" CACHE STRING "The git tag or commit hash to checkout from the promiselib repository")

if (ROAR_EXTERNAL_PROMISE)
else()
Expand Down

0 comments on commit 0a484c3

Please sign in to comment.