forked from pool/lugaru
Copy from home:etamPL:branches:games/lugaru via accept of submit request 40046 revision 3. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/40046 OBS-URL: https://build.opensuse.org/package/show/games/lugaru?expand=0&rev=5
18 lines
647 B
Diff
18 lines
647 B
Diff
--- lugaru-orig/CMakeLists.txt 2010-05-14 11:09:47.000000000 +0200
|
|
+++ lugaru-1.0/CMakeLists.txt 2010-05-14 15:38:34.729767952 +0200
|
|
@@ -361,9 +361,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")
|