Resolve CMake warning
diff --git a/cmake/BuildDependencies.cmake b/cmake/BuildDependencies.cmake index 89c815a..95c57e5 100644 --- a/cmake/BuildDependencies.cmake +++ b/cmake/BuildDependencies.cmake
@@ -21,6 +21,11 @@ set(nlohmann_json_URL https://github.com/nlohmann/json.git) set(nlohmann_json_TAG v3.11.2) +if(POLICY CMP0135) + cmake_policy(SET CMP0135 NEW) + set(CMAKE_POLICY_DEFAULT_CMP0135 NEW) +endif() + if (FUZZTEST_BUILD_TESTING) FetchContent_Declare( nlohmann_json