SHA256
1
0
forked from pool/lugaru
lugaru/lugaru-1.0.rev225-cmake-fix.patch
Cristian Morales Vega ad077153c8 Accepting request 128072 from home:kkirill:branches:games
Update to rev 506 to fix problem with not saving user progress and to add some new intrusive features. Switched to _service to make verificaiton easier

OBS-URL: https://build.opensuse.org/request/show/128072
OBS-URL: https://build.opensuse.org/package/show/games/lugaru?expand=0&rev=8
2012-07-16 22:52:58 +00:00

20 lines
647 B
Diff

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -415,9 +415,11 @@ if (NOT ZLIB_FOUND)
endif (NOT ZLIB_FOUND)
option (LUGARU_FORCE_INTERNAL_GLU "Force internal libGLU, even if there's a system version" False)
-if (LUGARU_FORCE_INTERNAL_GLU)
- set(OPENGL_GLU_FOUND False)
-endif (LUGARU_FORCE_INTERNAL_GLU)
+if (NOT LUGARU_FORCE_INTERNAL_GLU)
+ find_package(GLU)
+else(NOT LUGARU_FORCE_INTERNAL_GLU)
+ set(OPENGL_GLU_FOUND False)
+endif (NOT LUGARU_FORCE_INTERNAL_GLU)
if (NOT OPENGL_GLU_FOUND)
message(STATUS "Using internal copy of libGLU")