Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake 3.30: Calling FetchContent_Populate() is deprecated #568

Open
gerhardol opened this issue Jun 24, 2024 · 0 comments
Open

CMake 3.30: Calling FetchContent_Populate() is deprecated #568

gerhardol opened this issue Jun 24, 2024 · 0 comments

Comments

@gerhardol
Copy link
Contributor

New warning with updated CMake 3.30-rc3:

CMake Warning (dev) at /usr/local/src/cmake-3.30.0/share/cmake-3.30/Modules/FetchContent.cmake:1942 (message):
  Calling FetchContent_Populate(MyTools) is deprecated, call
  FetchContent_MakeAvailable(MyTools) instead.  Policy CMP0169 can be set
  to OLD to allow FetchContent_Populate(MyTools) 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):
  /home/t052809/gu/git_sync/gev/avap_applicationupdater/avap-util/CMakeConfig/cpm/CPM.cmake:1077 (FetchContent_Populate)
  /home/t052809/gu/git_sync/gev/avap_applicationupdater/avap-util/CMakeConfig/cpm/CPM.cmake:849 (cpm_fetch_package)
  CMakeLists.txt:7 (cpmaddpackage)
This warning is for project developers.  Use -Wno-dev to suppress it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant