mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Fix dup Option and move one to the top where it belongs in the CMake file.
This commit is contained in:
parent
85eab1d262
commit
c23a6505ad
@ -3,8 +3,9 @@
|
|||||||
#
|
#
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
option(USE_GLES "Enables GLES And EGL, disables OGL" OFF)
|
option(ANDROID "Enables a build for Android" OFF)
|
||||||
option(USE_EGL "Enables EGL OpenGL Interface" OFF)
|
option(USE_EGL "Enables EGL OpenGL Interface" OFF)
|
||||||
|
option(USE_GLES "Enables GLES And EGL, disables OGL" OFF)
|
||||||
option(DISABLE_WX "Disable wxWidgets (use CLI interface)" OFF)
|
option(DISABLE_WX "Disable wxWidgets (use CLI interface)" OFF)
|
||||||
|
|
||||||
option(FASTLOG "Enable all logs" OFF)
|
option(FASTLOG "Enable all logs" OFF)
|
||||||
@ -271,7 +272,6 @@ if(USE_EGL)
|
|||||||
endif()
|
endif()
|
||||||
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)
|
||||||
|
|
||||||
option(ANDROID "Enables a build for Android" OFF)
|
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
message("Building for Android")
|
message("Building for Android")
|
||||||
add_definitions(-DANDROID)
|
add_definitions(-DANDROID)
|
||||||
@ -394,7 +394,6 @@ if(NOT ANDROID)
|
|||||||
set(PORTAUDIO_FOUND FALSE)
|
set(PORTAUDIO_FOUND FALSE)
|
||||||
endif(PORTAUDIO)
|
endif(PORTAUDIO)
|
||||||
|
|
||||||
option(OPROFILING "Enable profiling" OFF)
|
|
||||||
if(OPROFILING)
|
if(OPROFILING)
|
||||||
check_lib(OPROFILE opagent opagent.h)
|
check_lib(OPROFILE opagent opagent.h)
|
||||||
check_lib(BFD bfd bfd.h)
|
check_lib(BFD bfd bfd.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user