X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=CMakeLists.txt;h=397caff37f031aca2bfe7f41b4b6a37ffdf01576;hb=528c1d5f1b59c997928091b30fe33199ff3cc529;hp=ba5a7f71601309a4aadb6be1b276954895f8de20;hpb=d1cccef518bc222b3733706aa1e5776c6cb9fec9;p=freeglut diff --git a/CMakeLists.txt b/CMakeLists.txt index ba5a7f7..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,19 +103,21 @@ 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 src/android/fg_main_android.c 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()