Skip to content

Commit 1bc4797

Browse files
committed
Replace FetchContent_Populate (deprecated in CMake 3.30) with FetchContent_MakeAvailable
1 parent 0ea2aed commit 1bc4797

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmake/idi/functions/idi_add_dependency.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function(__idi_add_dependency IDI_DEP_NAME IDI_DEP_URL IDI_DEP_TAG IDI_DEP_THIRD
247247
return()
248248
endif()
249249

250-
FetchContent_Populate(${IDI_DEP_NAME})
250+
FetchContent_MakeAvailable(${IDI_DEP_NAME})
251251
else()
252252
message(DEBUG "${IDI_DEP_NAME} already exists, skipping download.")
253253
endif()

0 commit comments

Comments
 (0)