From c15902487d4071eafb5ccd7e4f8535b88ce755ab Mon Sep 17 00:00:00 2001 From: root Date: Wed, 6 Aug 2014 07:59:39 +0400 Subject: [PATCH] fix indent in cmake --- apps/openmw/CMakeLists.txt | 71 +++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/apps/openmw/CMakeLists.txt b/apps/openmw/CMakeLists.txt index b3ac06e5d4..2179ec7dc0 100644 --- a/apps/openmw/CMakeLists.txt +++ b/apps/openmw/CMakeLists.txt @@ -1,15 +1,15 @@ # local files if (NOT ANDROID) -set(GAME - main.cpp - engine.cpp -) + set(GAME + main.cpp + engine.cpp + ) else() -set(GAME - main.cpp - android_main.c - engine.cpp -) + set(GAME + main.cpp + android_main.c + engine.cpp + ) endif() if(NOT WIN32 AND NOT ANDROID) set(GAME ${GAME} crashcatcher.cpp) @@ -103,19 +103,19 @@ endif(WIN32) find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS}) if (NOT ANDROID) -add_executable(openmw - ${OPENMW_LIBS} ${OPENMW_LIBS_HEADER} - ${OPENMW_FILES} - ${GAME} ${GAME_HEADER} - ${APPLE_BUNDLE_RESOURCES} -) + add_executable(openmw + ${OPENMW_LIBS} ${OPENMW_LIBS_HEADER} + ${OPENMW_FILES} + ${GAME} ${GAME_HEADER} + ${APPLE_BUNDLE_RESOURCES} + ) else () -add_library(openmw - SHARED - ${OPENMW_LIBS} ${OPENMW_LIBS_HEADER} - ${OPENMW_FILES} - ${GAME} ${GAME_HEADER} -) + add_library(openmw + SHARED + ${OPENMW_LIBS} ${OPENMW_LIBS_HEADER} + ${OPENMW_FILES} + ${GAME} ${GAME_HEADER} + ) endif () # Sound stuff - here so CMake doesn't stupidly recompile EVERYTHING @@ -137,21 +137,22 @@ target_link_libraries(openmw "sdl4ogre" components ) + if (ANDROID) -target_link_libraries(openmw - ${OGRE_STATIC_PLUGINS} - EGL - android - log - dl - MyGUI.OgrePlatform - MyGUIEngineStatic - Plugin_StrangeButtonStatic - cpufeatures - BulletCollision - BulletDynamics - LinearMath -) + target_link_libraries(openmw + ${OGRE_STATIC_PLUGINS} + EGL + android + log + dl + MyGUI.OgrePlatform + MyGUIEngineStatic + Plugin_StrangeButtonStatic + cpufeatures + BulletCollision + BulletDynamics + LinearMath + ) endif (ANDROID) if (USE_SYSTEM_TINYXML)