forked from pool/lugaru
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
20 lines
647 B
Diff
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")
|