--- 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)