From c5fa7bf7c27f62315ea15e5cf1914cc0432bb789 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 26 Aug 2014 17:31:34 +0200 Subject: [PATCH] Minor cleanup --- apps/openmw/CMakeLists.txt | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/apps/openmw/CMakeLists.txt b/apps/openmw/CMakeLists.txt index 6df6210ee..36cb18ada 100644 --- a/apps/openmw/CMakeLists.txt +++ b/apps/openmw/CMakeLists.txt @@ -1,16 +1,13 @@ # local files -if (NOT ANDROID) - set(GAME - main.cpp - engine.cpp - ) -else() - set(GAME - main.cpp - android_main.c - engine.cpp - ) +set(GAME + main.cpp + engine.cpp +) + +if (ANDROID) + set(GAME ${GAME} android_main.c) endif() + if(NOT WIN32 AND NOT ANDROID) set(GAME ${GAME} crashcatcher.cpp) endif()