According to the CMake docs, FetchContent_Populate is deprecated as of 3.30. When syncing the examples, the following is printed by CMake 3.30:
Calling FetchContent_Populate(pico_sdk) is deprecated, call
FetchContent_MakeAvailable(pico_sdk) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(pico_sdk) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
FetchContent_MakeAvailable was added in 3.14, so to maintain compatibility with 3.13, a version check would be needed.