Skip to content

Commit 3d963a9

Browse files
authored
Remove deprecated FetchContent_Populate (#1459)
1 parent ce42b1d commit 3d963a9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/asio_repe/CMakeLists.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ FetchContent_Declare(
66
GIT_TAG asio-1-30-1
77
GIT_SHALLOW TRUE
88
)
9-
FetchContent_GetProperties(asio)
10-
if(NOT asio_POPULATED)
11-
FetchContent_Populate(asio)
12-
endif()
9+
FetchContent_MakeAvailable(asio)
1310

1411
add_executable(${PROJECT_NAME} ${PROJECT_NAME}.cpp)
1512

0 commit comments

Comments
 (0)