This is an automated email from the ASF dual-hosted git repository.

aleksraiden pushed a commit to branch 
aleksraiden-patch-FetchContent_MakeAvailable
in repository https://gitbox.apache.org/repos/asf/kvrocks.git

commit f593666b49da918174761c18d4075fc3f35aee7e
Author: Aleks Lozovyuk <[email protected]>
AuthorDate: Mon Nov 4 12:49:26 2024 +0300

    Update utils.cmake
---
 cmake/utils.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/utils.cmake b/cmake/utils.cmake
index cce10cbf..be75fb17 100644
--- a/cmake/utils.cmake
+++ b/cmake/utils.cmake
@@ -28,7 +28,7 @@ endmacro()
 function(FetchContent_MakeAvailableWithArgs dep)
   if(NOT ${dep}_POPULATED)
     message("Fetching ${dep}...")
-    FetchContent_Populate(${dep})
+    FetchContent_MakeAvailable(${dep})
 
     foreach(arg IN LISTS ARGN)
       parse_var(${arg} key value)

Reply via email to