project_options icon indicating copy to clipboard operation
project_options copied to clipboard

CMake 3.30 will deprecate FetchContent_Populate with arguments

Open ddassie-texa opened this issue 1 year ago • 0 comments

Using CMake 3.30 (pre-release) I'm getting the following warning(s):

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.30/Modules/FetchContent.cmake:1942 (message):
  Calling FetchContent_Populate(_fargs) is deprecated, call
  FetchContent_MakeAvailable(_fargs) instead.  Policy CMP0169 can be set to
  OLD to allow FetchContent_Populate(_fargs) to be called directly for now,
  but the ability to call it with declared details will be removed completely
  in a future version.
Call Stack (most recent call first):
  cmake-build-Debug/_deps/_project_options-src/src/PackageProject.cmake:274 (FetchContent_Populate)
  CMakeLists.txt:89 (package_project)
This warning is for project developers.  Use -Wno-dev to suppress it.

Upvote & Fund

@aminya is using Polar.sh so you can upvote and help fund this issue. The funding is received once the issue is completed & confirmed by you.

Thank you in advance for helping prioritize & fund our backlog!


Fund with Polar

ddassie-texa avatar Jun 17 '24 14:06 ddassie-texa