[iOS] Removed support for examples, it was too much trouble and not as robust as true iOS App Xcode projects

This commit is contained in:
Laurent Gomila 2013-09-11 23:15:08 +02:00 committed by Jonathan De Wachter
parent 8f459cd1af
commit c35b48bcea
8 changed files with 18 additions and 74 deletions

View file

@ -5,11 +5,9 @@ set(SRCROOT ${PROJECT_SOURCE_DIR}/examples/window)
set(SRC ${SRCROOT}/Window.cpp)
# find OpenGL and GLU
if(NOT IOS)
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIR})
set(ADDITIONAL_LIBRARIES ${OPENGL_LIBRARIES})
endif()
find_package(OpenGL REQUIRED)
include_directories(${OPENGL_INCLUDE_DIR})
set(ADDITIONAL_LIBRARIES ${OPENGL_LIBRARIES})
# define the window target
sfml_add_example(window GUI_APP