From c23a6505ad4a96f55abb508f052cb4ba3c85f23e Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Wed, 13 Mar 2013 11:56:23 -0500 Subject: [PATCH] Fix dup Option and move one to the top where it belongs in the CMake file. --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5560b195e3..c3abeb224a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) @@ -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) @@ -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)