Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix dup Option and move one to the top where it belongs in the CMake …
…file.
  • Loading branch information
Sonicadvance1 committed Mar 13, 2013
1 parent 85eab1d commit c23a650
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Expand Up @@ -3,8 +3,9 @@
#
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_GLES "Enables GLES And EGL, disables OGL" OFF)
option(DISABLE_WX "Disable wxWidgets (use CLI interface)" OFF)

option(FASTLOG "Enable all logs" OFF)
Expand Down Expand Up @@ -271,7 +272,6 @@ if(USE_EGL)
endif()
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE)

option(ANDROID "Enables a build for Android" OFF)
if(ANDROID)
message("Building for Android")
add_definitions(-DANDROID)
Expand Down Expand Up @@ -394,7 +394,6 @@ if(NOT ANDROID)
set(PORTAUDIO_FOUND FALSE)
endif(PORTAUDIO)

option(OPROFILING "Enable profiling" OFF)
if(OPROFILING)
check_lib(OPROFILE opagent opagent.h)
check_lib(BFD bfd bfd.h)
Expand Down

0 comments on commit c23a650

Please sign in to comment.