@@ -106,7 +106,7 @@ endif()
106106FetchContent_GetProperties(chibios)
107107if (NOT chibios_POPULATED)
108108 # Fetch the content using previously declared details
109- FetchContent_Populate (chibios)
109+ FetchContent_MakeAvailable (chibios)
110110endif ()
111111
112112if (CHIBIOS_CONTRIB_REQUIRED)
@@ -137,7 +137,7 @@ if(CHIBIOS_CONTRIB_REQUIRED)
137137 FetchContent_GetProperties(chibios-contrib)
138138 if (NOT chibios-contrib_POPULATED)
139139 # Fetch the content using previously declared details
140- FetchContent_Populate (chibios-contrib)
140+ FetchContent_MakeAvailable (chibios-contrib)
141141 endif ()
142142
143143endif ()
@@ -199,7 +199,7 @@ if(NF_FEATURE_HAS_SDCARD OR NF_FEATURE_HAS_USB_MSD)
199199 FetchContent_GetProperties(fatfs)
200200 if (NOT fatfs_POPULATED)
201201 # Fetch the content using previously declared details
202- FetchContent_Populate (fatfs)
202+ FetchContent_MakeAvailable (fatfs)
203203 endif ()
204204
205205 # have to delete the ffconf.h template from the repo
@@ -373,7 +373,7 @@ if(NF_FEATURE_USE_LITTLEFS_OPTION)
373373 FetchContent_GetProperties(littlefs)
374374 if (NOT littlefs_POPULATED)
375375 # Fetch the content using previously declared details
376- FetchContent_Populate (littlefs)
376+ FetchContent_MakeAvailable (littlefs)
377377 endif ()
378378
379379endif ()
0 commit comments