fg_geometry: Enable supported geometry functions for GLES2
[freeglut] / CMakeLists.txt
index 7a7de9f..de00ec0 100644 (file)
@@ -43,6 +43,8 @@ SET(FREEGLUT_SRCS
     src/fg_ext.c
     src/fg_font_data.c
     src/fg_gamemode.c
+    src/fg_gl2.c
+    src/fg_gl2.h
     src/fg_init.c
     src/fg_internal.h
     src/fg_input_devices.c
@@ -65,6 +67,7 @@ IF(NOT FREEGLUT_GLES2 AND NOT FREEGLUT_GLES1)
         src/fg_menu.c
         src/fg_teapot.c
         src/fg_teapot_data.h
+        src/fg_geometry.c
     )
 ELSE()
     LIST(APPEND FREEGLUT_SRCS
@@ -102,6 +105,7 @@ ELSEIF(ANDROID)
     LIST(APPEND FREEGLUT_SRCS
         src/egl/fg_internal_egl.h
         src/egl/fg_display_egl.c
+        src/egl/fg_ext_egl.c
         src/egl/fg_init_egl.c
         src/egl/fg_state_egl.c
         src/egl/fg_structure_egl.c
@@ -144,6 +148,7 @@ ELSE()
         LIST(APPEND FREEGLUT_SRCS
             src/egl/fg_internal_egl.h
             src/egl/fg_display_egl.c
+            src/egl/fg_ext_egl.c
             src/egl/fg_init_egl.c
             src/egl/fg_state_egl.c
             src/egl/fg_structure_egl.c