Reviewed compilation options

This commit is contained in:
Ray 2018-07-16 18:43:24 +02:00
parent 4d4d9b0170
commit 98273f0152
4 changed files with 4 additions and 15 deletions

View file

@ -34,10 +34,6 @@ foreach(example_dir ${example_dirs})
endforeach()
include(CheckIncludeFiles)
check_include_files(OVR_CAPI_GL.h HAVE_OCULUS_CAPI)
if(NOT HAVE_OCULUS_CAPI)
list(REMOVE_ITEM example_sources ${CMAKE_CURRENT_SOURCE_DIR}/others/oculus_rift.c)
endif()
list(REMOVE_ITEM example_sources ${CMAKE_CURRENT_SOURCE_DIR}/others/standard_lighting.c)
if(${PLATFORM} MATCHES "Android")