summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDusan Durech <dusan.d@centrum.sk>2008-11-09 16:27:26 +0100
committerDusan Durech <dusan.d@centrum.sk>2008-11-09 16:27:26 +0100
commitabaf9d7588e63f323caa863943da5201f2da06ea (patch)
treece79601e1fc668e616a66a124bf3350a3dc4ae80 /CMakeLists.txt
parent4bd8ea7c07e2f3a8c595aed5d166bb823720c2b8 (diff)
parent37ee49ddeddfb7b7875b52be1f282b513b8774d3 (diff)
Merge branch 'master' of ssh://oroborus@repo.or.cz/srv/git/tuxanci
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 210f604..db504f4 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,7 @@
# -DCMAKE_DOC_PATH=/other/bla/doc/tuxanci-version/ # install path for doc
# -DCMAKE_LOCALE_PATH=/other/bla # install path for locale
# -DCMAKE_FONT=/bla/font.ttf # install path for locale
+# -DNO_OPENGL=1 # disable opengl
###############################################################################
# IMPORTANT DEFINITIONS [PREFIX,...]
###############################################################################
@@ -128,10 +129,12 @@ ENDIF ( Apple )
MESSAGE ( STATUS "<Locating ZZIP library>" )
MESSAGE ( STATUS "<******************************>" )
FIND_PACKAGE ( ZZIP REQUIRED )
-MESSAGE ( STATUS "<Locating OpenGL stuff>" )
-MESSAGE ( STATUS "<******************************>" )
-FIND_PACKAGE ( OpenGL REQUIRED )
-FIND_PACKAGE ( GLU REQUIRED )
+IF ( NOT NO_OPENGL )
+ MESSAGE ( STATUS "<Locating OpenGL stuff>" )
+ MESSAGE ( STATUS "<******************************>" )
+ FIND_PACKAGE ( OpenGL REQUIRED )
+ FIND_PACKAGE ( GLU REQUIRED )
+ENDIF ( NOT NO_OPENGL )
MESSAGE ( STATUS "<Locating SDL stuff>" )
MESSAGE ( STATUS "<******************************>" )