Skip to content

Commit

Permalink
fix: CMake deprecation warnings from subprojects (#535)
Browse files Browse the repository at this point in the history
closes #309
  • Loading branch information
WillAyd authored Jul 15, 2024
1 parent b71327d commit 1e2664a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions thirdparty/googletest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ include(FetchContent)
if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_VERSION
VERSION_GREATER_EQUAL "5.0.0")
fetchcontent_declare(googletest
URL https://github.com/google/googletest/archive/release-1.11.0.zip
URL_HASH SHA256=353571c2440176ded91c2de6d6cd88ddd41401d14692ec1f99e35d013feda55a
URL https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz
URL_HASH SHA256=8ad598c73ad796e0d8280b082cebd82a630d73e73cd3c70057938a6501bba5d7
)
else()
fetchcontent_declare(googletest
Expand Down
4 changes: 2 additions & 2 deletions thirdparty/nlohmann_json/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
include(FetchContent)

fetchcontent_declare(nlohmann_json
URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.2.zip
URL_HASH SHA256=95651d7d1fcf2e5c3163c3d37df6d6b3e9e5027299e6bd050d157322ceda9ac9
URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.zip
URL_HASH SHA256=04022b05d806eb5ff73023c280b68697d12b93e1b7267a0b22a1a39ec7578069
)
fetchcontent_makeavailable(nlohmann_json)

0 comments on commit 1e2664a

Please sign in to comment.