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

FetchContent_Populate is deprecated. #386

Closed
imorlxs opened this issue Aug 23, 2024 · 1 comment · Fixed by #387
Closed

FetchContent_Populate is deprecated. #386

imorlxs opened this issue Aug 23, 2024 · 1 comment · Fixed by #387
Assignees

Comments

@imorlxs
Copy link
Member

imorlxs commented Aug 23, 2024

The macos-14 build workflow throws this warning.

CMake Warning (dev) at /opt/homebrew/Cellar/cmake/3.30.2/share/cmake/Modules/FetchContent.cmake:1953 (message):
  Calling
  FetchContent_Populate(root_v6.30.06_cxx17_python3.9_osx-xcode-15.4-arm64.tar.gz)
  is deprecated, call
  FetchContent_MakeAvailable(root_v6.30.06_cxx17_python3.9_osx-xcode-15.4-arm64.tar.gz)
  instead.  Policy CMP0169 can be set to OLD to allow
  FetchContent_Populate(root_v6.30.06_cxx17_python3.9_osx-xcode-15.4-arm64.tar.gz)
  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/utils.cmake:554 (FetchContent_Populate)
  cmake/external/ROOT.cmake:62 (download_verify_extract)
  cmake/utils.cmake:101 (include)
  CMakeLists.txt:309 (verify_ROOT)
This warning is for project developers.  Use -Wno-dev to suppress it.
@imorlxs imorlxs self-assigned this Aug 23, 2024
@imorlxs imorlxs linked a pull request Aug 23, 2024 that will close this issue
TobiasDuswald pushed a commit that referenced this issue Aug 26, 2024
See deprecation warning documented in #386.
@TobiasDuswald
Copy link
Contributor

Thank you for fixing this @imorlxs ! 🚀

imorlxs added a commit that referenced this issue Oct 8, 2024
See deprecation warning documented in #386.
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

Successfully merging a pull request may close this issue.

2 participants