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 #734

Open
vinser52 opened this issue Sep 16, 2024 · 0 comments
Open

FetchContent_Populate is deprecated #734

vinser52 opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@vinser52
Copy link
Contributor

The following Cmake warning occurs during the build of UMF:

CMake Warning (dev) at /usr/share/cmake-3.30/Modules/FetchContent.cmake:1953 (message):
  Calling FetchContent_Populate(level-zero-loader) is deprecated, call
  FetchContent_MakeAvailable(level-zero-loader) instead.  Policy CMP0169 can
  be set to OLD to allow FetchContent_Populate(level-zero-loader) 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):
  src/CMakeLists.txt:38 (FetchContent_Populate)
This warning is for project developers.  Use -Wno-dev to suppress it.

The cmake files should be updated to use FetchContent_MakeAvailable instead of FetchContent_Populate.

Environment Information

  • UMF version (hash commit or a tag): main branch
  • OS(es) version(s): Linux
  • compiler, libraries, and other related tools version(s): cmake 3.30.2

Please provide a reproduction of the bug:

mkdir build && cd build
cmake ..
make -j

How often bug is revealed:

always

Requested priority:

Medium

@vinser52 vinser52 added the bug Something isn't working label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant