aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-10-30 14:59:03 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-10-30 14:59:03 +0000
commit19c7012647ec00786d3fd79c80c6ae235e432504 (patch)
tree6be2dcac573f5e8ab920543cf4a86c5ffaffbae3 /games
parent59cb796ab022692d8065eb5b8a1ddb5b86ea855c (diff)
downloadports-19c7012647ec00786d3fd79c80c6ae235e432504.tar.gz
ports-19c7012647ec00786d3fd79c80c6ae235e432504.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/widelands/files/patch-CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/widelands/files/patch-CMakeLists.txt b/games/widelands/files/patch-CMakeLists.txt
index 17385e97c7f1..34216b9853f8 100644
--- a/games/widelands/files/patch-CMakeLists.txt
+++ b/games/widelands/files/patch-CMakeLists.txt
@@ -13,7 +13,7 @@
# This is set to avoid linker errors when using GLVND-libs on Linux
if("${OpenGL_GL_PREFERENCE}" STREQUAL "GLVND")
- link_libraries("GL")
-+ link_libraries(${OpenGL_GL_LIBRARY})
++ link_libraries(OpenGL::GL)
add_compile_definitions(WL_USE_GLVND)
message(STATUS "Adding linker flags for GLVND.")
endif()