-
Notifications
You must be signed in to change notification settings - Fork 27
I get some warnings when building in Linux #1
Copy link
Copy link
Open
Description
CMake Warning (dev) at /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(glfw3) is deprecated, call
FetchContent_MakeAvailable(glfw3) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(glfw3) 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):
Dependencies.cmake:17 (FetchContent_Populate)
CMakeLists.txt:11 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
and
CMake Warning (dev) at /usr/local/share/cmake-3.31/Modules/FindOpenGL.cmake:415 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
Dependencies.cmake:23 (find_package)
CMakeLists.txt:11 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
and
CMake Warning (dev) at /usr/local/share/cmake-3.31/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(glm) is deprecated, call
FetchContent_MakeAvailable(glm) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(glm) 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):
Dependencies.cmake:53 (FetchContent_Populate)
CMakeLists.txt:11 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels