unified-memory-framework
unified-memory-framework copied to clipboard
FetchContent_Populate is deprecated
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