mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
[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:
parent
f292819ff5
commit
13578dc0b3
@ -332,13 +332,6 @@ add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
|||||||
# externals.
|
# externals.
|
||||||
include(CheckLib)
|
include(CheckLib)
|
||||||
include(CheckCXXSourceRuns)
|
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)
|
if(OPENMP)
|
||||||
include(FindOpenMP OPTIONAL)
|
include(FindOpenMP OPTIONAL)
|
||||||
@ -353,6 +346,14 @@ if(NOT ANDROID)
|
|||||||
message("OpenMP parallelization disabled")
|
message("OpenMP parallelization disabled")
|
||||||
endif()
|
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)
|
include(FindALSA OPTIONAL)
|
||||||
if(ALSA_FOUND)
|
if(ALSA_FOUND)
|
||||||
add_definitions(-DHAVE_ALSA=1)
|
add_definitions(-DHAVE_ALSA=1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user