mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-20 18:39:39 +00:00
Rename openmw to tes3mp
This commit is contained in:
parent
90215f4e7c
commit
b67789aa6a
1 changed files with 10 additions and 10 deletions
|
@ -101,13 +101,13 @@ add_openmw_dir (mwmp DedicatedPlayer LocalPlayer Networking Main GUIChat GUILogi
|
|||
# Main executable
|
||||
|
||||
if (NOT ANDROID)
|
||||
add_executable(openmw
|
||||
add_executable(tes3mp
|
||||
${OPENMW_FILES}
|
||||
${GAME} ${GAME_HEADER}
|
||||
${APPLE_BUNDLE_RESOURCES}
|
||||
)
|
||||
else ()
|
||||
add_library(openmw
|
||||
add_library(tes3mp
|
||||
SHARED
|
||||
${OPENMW_FILES}
|
||||
${GAME} ${GAME_HEADER}
|
||||
|
@ -120,7 +120,7 @@ include_directories(
|
|||
${FFmpeg_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(openmw
|
||||
target_link_libraries(tes3mp
|
||||
${OSG_LIBRARIES}
|
||||
${OPENTHREADS_LIBRARIES}
|
||||
${OSGPARTICLE_LIBRARIES}
|
||||
|
@ -153,7 +153,7 @@ if (ANDROID)
|
|||
${OSG_PLUGINS_DIR}/libosgdb_png.a
|
||||
-Wl,--no-whole-archive
|
||||
)
|
||||
target_link_libraries(openmw
|
||||
target_link_libraries(tes3mp
|
||||
EGL
|
||||
android
|
||||
log
|
||||
|
@ -168,33 +168,33 @@ if (ANDROID)
|
|||
endif (ANDROID)
|
||||
|
||||
if (USE_SYSTEM_TINYXML)
|
||||
target_link_libraries(openmw ${TinyXML_LIBRARIES})
|
||||
target_link_libraries(tes3mp ${TinyXML_LIBRARIES})
|
||||
endif()
|
||||
|
||||
if (NOT UNIX)
|
||||
target_link_libraries(openmw ${SDL2MAIN_LIBRARY})
|
||||
target_link_libraries(tes3mp ${SDL2MAIN_LIBRARY})
|
||||
endif()
|
||||
|
||||
# Fix for not visible pthreads functions for linker with glibc 2.15
|
||||
if (UNIX AND NOT APPLE)
|
||||
target_link_libraries(openmw ${CMAKE_THREAD_LIBS_INIT})
|
||||
target_link_libraries(tes3mp ${CMAKE_THREAD_LIBS_INIT})
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
find_library(COCOA_FRAMEWORK Cocoa)
|
||||
find_library(IOKIT_FRAMEWORK IOKit)
|
||||
target_link_libraries(openmw ${COCOA_FRAMEWORK} ${IOKIT_FRAMEWORK})
|
||||
target_link_libraries(tes3mp ${COCOA_FRAMEWORK} ${IOKIT_FRAMEWORK})
|
||||
|
||||
if (FFmpeg_FOUND)
|
||||
find_library(COREVIDEO_FRAMEWORK CoreVideo)
|
||||
find_library(VDA_FRAMEWORK VideoDecodeAcceleration)
|
||||
target_link_libraries(openmw ${COREVIDEO_FRAMEWORK} ${VDA_FRAMEWORK})
|
||||
target_link_libraries(tes3mp ${COREVIDEO_FRAMEWORK} ${VDA_FRAMEWORK})
|
||||
endif()
|
||||
endif(APPLE)
|
||||
|
||||
if (BUILD_WITH_CODE_COVERAGE)
|
||||
add_definitions (--coverage)
|
||||
target_link_libraries(openmw gcov)
|
||||
target_link_libraries(tes3mp gcov)
|
||||
endif()
|
||||
|
||||
if (MSVC)
|
||||
|
|
Loading…
Reference in a new issue