X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=CMakeLists.txt;h=397caff37f031aca2bfe7f41b4b6a37ffdf01576;hb=528c1d5f1b59c997928091b30fe33199ff3cc529;hp=05ee255423a34f082f0882bed65a1b8bb2350bd2;hpb=be0851a736f7a14a550e113c17634c93df90677b;p=freeglut diff --git a/CMakeLists.txt b/CMakeLists.txt index 05ee255..397caff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,10 @@ IF(NOT FREEGLUT_GLES2 AND NOT FREEGLUT_GLES1) src/fg_menu.c src/fg_teapot.c ) +ELSE() + LIST(APPEND FREEGLUT_SRCS + src/gles_stubs.c + ) ENDIF() IF(WIN32) @@ -99,12 +103,14 @@ ELSEIF(ANDROID) src/egl/fg_display_egl.c src/egl/fg_init_egl.c src/egl/fg_structure_egl.c + src/egl/fg_structure_egl.h src/egl/fg_window_egl.c src/egl/fg_window_egl.h src/android/native_app_glue/android_native_app_glue.c src/android/native_app_glue/android_native_app_glue.h src/android/fg_runtime_android.c src/android/fg_gamemode_android.c + src/android/fg_structure_android.c src/android/fg_init_android.c src/android/fg_input_devices_android.c src/android/fg_joystick_android.c @@ -112,7 +118,6 @@ ELSEIF(ANDROID) src/android/fg_spaceball_android.c src/android/fg_state_android.c src/android/fg_window_android.c - src/android/opengles_stubs.c src/android/fg_internal_android.h ) ELSE()