Build order for -lGL does not work for openSUSE Tumbleweed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Undecided
|
kaputtnik |
Bug Description
For openSUSE tumbleweed build20 does work as -lGL can't be linked. Simple fix is to add link libraries with proper function instead of simply adding them to flags:
diff -ur widelands-
--- widelands-
+++ widelands-
@@ -181,7 +181,7 @@
# This is set to avoid linker errors when using GLVND-libs on Linux
if("${
- set (CMAKE_
+ link_libraries(
add_
message(STATUS "Adding linker flags for GLVND.")
endif()
Related branches
- GunChleoc: Approve
-
Diff: 34 lines (+3/-3)2 files modifiedCMakeLists.txt (+1/-1)
utils/win32/innosetup/Widelands.iss (+2/-2)
Changed in widelands: | |
milestone: | none → build21-rc1 |
assignee: | nobody → kaputtnik (franku) |
Just made a branch and compiled with no problems. So i think it's sufficient :-)