|
|
|
@ -157,7 +157,6 @@ endif()
|
|
|
|
|
|
|
|
|
|
if (ANDROID)
|
|
|
|
|
set(CMAKE_FIND_ROOT_PATH ${OPENMW_DEPENDENCIES_DIR} "${CMAKE_FIND_ROOT_PATH}")
|
|
|
|
|
add_definitions (-DOSG_PLUGINS_DIR=${OSG_PLUGINS_DIR})
|
|
|
|
|
set(OPENGL_ES TRUE CACHE BOOL "enable opengl es support for android" FORCE)
|
|
|
|
|
endif (ANDROID)
|
|
|
|
|
|
|
|
|
@ -173,8 +172,6 @@ else()
|
|
|
|
|
set(USE_QT TRUE)
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
add_definitions(-DUSE_QT)
|
|
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
|
if (USE_QT)
|
|
|
|
|
set(DESIRED_QT_VERSION 4 CACHE STRING "The QT version OpenMW should use (4 or 5)")
|
|
|
|
|