hedgewars/CMakeLists.txt
branchwebgl
changeset 8338 cfad3738132c
parent 8330 aaefa587e277
child 8444 75db7bb8dce8
--- a/hedgewars/CMakeLists.txt	Sun Dec 30 09:24:30 2012 -0500
+++ b/hedgewars/CMakeLists.txt	Sun Dec 30 09:48:52 2012 -0500
@@ -110,6 +110,11 @@
 endif(${LIBENGINE})
 
 
+#opengl 2
+IF(${GL2})
+    set(pascal_flags "-dGL2" ${pascal_flags})
+    message(STATUS "Building using OpenGL 2")
+ENDIF(${GL2})
 # Check Freepascal version
 find_package(Freepascal)