We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9eb1cf5 commit 25cafc2Copy full SHA for 25cafc2
1 file changed
CMakeLists.txt
@@ -272,7 +272,7 @@ endif()
272
273
# This is set to avoid linker errors when using GLVND-libs on Linux
274
if("${OpenGL_GL_PREFERENCE}" STREQUAL "GLVND")
275
- link_libraries("GL")
+ link_libraries(OpenGL::GL)
276
add_compile_definitions(WL_USE_GLVND)
277
message(STATUS "Adding linker flags for GLVND.")
278
endif()
0 commit comments