From 3b53911478ce2705205c3fa411c73e8d0bb0ce9c Mon Sep 17 00:00:00 2001 From: Vasily Zakharov Date: Thu, 19 Sep 2024 00:34:21 +0300 Subject: [PATCH] Fix for #120: FetchContent_Populate() is deprecated in CMake 3.30, FetchContent_MakeAvailable() is recommended instead --- cmake/GetCryptoppSources.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/GetCryptoppSources.cmake b/cmake/GetCryptoppSources.cmake index 3aaaab4..a4c0c3d 100644 --- a/cmake/GetCryptoppSources.cmake +++ b/cmake/GetCryptoppSources.cmake @@ -50,7 +50,7 @@ else() QUIET ) endif() -fetchcontent_populate(cryptopp) +FetchContent_MakeAvailable(cryptopp) if(CRYPTOPP_USE_PEM_PACK) - fetchcontent_populate(cryptopp-pem) + FetchContent_MakeAvailable(cryptopp-pem) endif()