mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-03-30 09:36:43 +00:00
fix indent in cmake
This commit is contained in:
parent
32ebc90ba4
commit
c15902487d
1 changed files with 36 additions and 35 deletions
|
@ -1,15 +1,15 @@
|
||||||
# local files
|
# local files
|
||||||
if (NOT ANDROID)
|
if (NOT ANDROID)
|
||||||
set(GAME
|
set(GAME
|
||||||
main.cpp
|
main.cpp
|
||||||
engine.cpp
|
engine.cpp
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
set(GAME
|
set(GAME
|
||||||
main.cpp
|
main.cpp
|
||||||
android_main.c
|
android_main.c
|
||||||
engine.cpp
|
engine.cpp
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(NOT WIN32 AND NOT ANDROID)
|
if(NOT WIN32 AND NOT ANDROID)
|
||||||
set(GAME ${GAME} crashcatcher.cpp)
|
set(GAME ${GAME} crashcatcher.cpp)
|
||||||
|
@ -103,19 +103,19 @@ endif(WIN32)
|
||||||
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
find_package(Boost REQUIRED COMPONENTS ${BOOST_COMPONENTS})
|
||||||
|
|
||||||
if (NOT ANDROID)
|
if (NOT ANDROID)
|
||||||
add_executable(openmw
|
add_executable(openmw
|
||||||
${OPENMW_LIBS} ${OPENMW_LIBS_HEADER}
|
${OPENMW_LIBS} ${OPENMW_LIBS_HEADER}
|
||||||
${OPENMW_FILES}
|
${OPENMW_FILES}
|
||||||
${GAME} ${GAME_HEADER}
|
${GAME} ${GAME_HEADER}
|
||||||
${APPLE_BUNDLE_RESOURCES}
|
${APPLE_BUNDLE_RESOURCES}
|
||||||
)
|
)
|
||||||
else ()
|
else ()
|
||||||
add_library(openmw
|
add_library(openmw
|
||||||
SHARED
|
SHARED
|
||||||
${OPENMW_LIBS} ${OPENMW_LIBS_HEADER}
|
${OPENMW_LIBS} ${OPENMW_LIBS_HEADER}
|
||||||
${OPENMW_FILES}
|
${OPENMW_FILES}
|
||||||
${GAME} ${GAME_HEADER}
|
${GAME} ${GAME_HEADER}
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# Sound stuff - here so CMake doesn't stupidly recompile EVERYTHING
|
# Sound stuff - here so CMake doesn't stupidly recompile EVERYTHING
|
||||||
|
@ -137,21 +137,22 @@ target_link_libraries(openmw
|
||||||
"sdl4ogre"
|
"sdl4ogre"
|
||||||
components
|
components
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ANDROID)
|
if (ANDROID)
|
||||||
target_link_libraries(openmw
|
target_link_libraries(openmw
|
||||||
${OGRE_STATIC_PLUGINS}
|
${OGRE_STATIC_PLUGINS}
|
||||||
EGL
|
EGL
|
||||||
android
|
android
|
||||||
log
|
log
|
||||||
dl
|
dl
|
||||||
MyGUI.OgrePlatform
|
MyGUI.OgrePlatform
|
||||||
MyGUIEngineStatic
|
MyGUIEngineStatic
|
||||||
Plugin_StrangeButtonStatic
|
Plugin_StrangeButtonStatic
|
||||||
cpufeatures
|
cpufeatures
|
||||||
BulletCollision
|
BulletCollision
|
||||||
BulletDynamics
|
BulletDynamics
|
||||||
LinearMath
|
LinearMath
|
||||||
)
|
)
|
||||||
endif (ANDROID)
|
endif (ANDROID)
|
||||||
|
|
||||||
if (USE_SYSTEM_TINYXML)
|
if (USE_SYSTEM_TINYXML)
|
||||||
|
|
Loading…
Reference in a new issue