[Android] Enable the ability to find OpenMP on Android...which isn't used in the generic texture decoder so no win.

This commit is contained in:
Ryan Houdek 2013-11-24 16:28:20 -06:00
parent f292819ff5
commit 13578dc0b3

View File

@ -332,13 +332,6 @@ add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
# externals.
include(CheckLib)
include(CheckCXXSourceRuns)
if(NOT ANDROID)
include(FindOpenGL)
include_directories(${OPENGL_INCLUDE_DIR})
if(NOT OPENGL_GLU_FOUND)
message(FATAL_ERROR "GLU is required but not found")
endif()
if(OPENMP)
include(FindOpenMP OPTIONAL)
@ -353,6 +346,14 @@ if(NOT ANDROID)
message("OpenMP parallelization disabled")
endif()
if(NOT ANDROID)
include(FindOpenGL)
include_directories(${OPENGL_INCLUDE_DIR})
if(NOT OPENGL_GLU_FOUND)
message(FATAL_ERROR "GLU is required but not found")
endif()
include(FindALSA OPTIONAL)
if(ALSA_FOUND)
add_definitions(-DHAVE_ALSA=1)