Skip to content

Commit

Permalink
Add SYSTEM keyword to FetchContent_Declare and bump CMake to 3.25.
Browse files Browse the repository at this point in the history
  • Loading branch information
niklas-uhl committed Jul 15, 2024
1 parent 2762e73 commit a76bc62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.24)
cmake_minimum_required(VERSION 3.25)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")

Expand Down Expand Up @@ -210,7 +210,7 @@ if (KAMPING_ENABLE_SERIALIZATION)
cereal
GIT_REPOSITORY https://github.com/USCiLab/cereal
GIT_TAG v1.3.2
FIND_PACKAGE_ARGS NAMES cereal 1.3.2
SYSTEM FIND_PACKAGE_ARGS NAMES cereal 1.3.2
)
set(JUST_INSTALL_CEREAL ON)
FetchContent_MakeAvailable(cereal)
Expand Down

0 comments on commit a76bc62

Please sign in to comment.