hedgewars/CMakeLists.txt
changeset 10015 4feced261c68
parent 10008 b8b91c7e0da8
parent 9950 2759212a27de
child 10160 4608f10ae65f
--- a/hedgewars/CMakeLists.txt	Sun Jan 19 00:18:28 2014 +0400
+++ b/hedgewars/CMakeLists.txt	Tue Jan 21 22:38:13 2014 +0100
@@ -179,6 +179,11 @@
     add_definitions(-dSDL2)
 endif()
 
+#opengl 2
+IF(GL2)
+    add_definitions(-dGL2)
+ENDIF(GL2)
+
 #needs to be last
 add_definitions(-dDEBUGFILE)