mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 06:45:35 +00:00
use new deps and some cleanups
This commit is contained in:
parent
0f19d87e61
commit
899e51b724
3 changed files with 2 additions and 3 deletions
|
@ -32,7 +32,7 @@ qmake --version
|
||||||
if [[ "${MACOS_AMD64}" ]]; then
|
if [[ "${MACOS_AMD64}" ]]; then
|
||||||
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20221113.zip -o ~/openmw-deps.zip
|
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20221113.zip -o ~/openmw-deps.zip
|
||||||
else
|
else
|
||||||
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20230223_arm64.zip -o ~/openmw-deps.zip
|
curl -fSL -R -J https://gitlab.com/OpenMW/openmw-deps/-/raw/main/macos/openmw-deps-20230722_arm64.zip -o ~/openmw-deps.zip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unzip -o ~/openmw-deps.zip -d /tmp > /dev/null
|
unzip -o ~/openmw-deps.zip -d /tmp > /dev/null
|
||||||
|
|
|
@ -779,7 +779,7 @@ if (WIN32)
|
||||||
#set_target_properties(openmw PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS")
|
#set_target_properties(openmw PROPERTIES LINK_FLAGS_MINSIZEREL "/SUBSYSTEM:WINDOWS")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (BUILD_OPENMW AND APPLE)
|
if (APPLE)
|
||||||
target_compile_definitions(components PRIVATE GL_SILENCE_DEPRECATION=1)
|
target_compile_definitions(components PRIVATE GL_SILENCE_DEPRECATION=1)
|
||||||
target_compile_definitions(openmw PRIVATE GL_SILENCE_DEPRECATION=1)
|
target_compile_definitions(openmw PRIVATE GL_SILENCE_DEPRECATION=1)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -219,7 +219,6 @@ if(APPLE)
|
||||||
target_link_libraries(openmw ${COCOA_FRAMEWORK} ${IOKIT_FRAMEWORK})
|
target_link_libraries(openmw ${COCOA_FRAMEWORK} ${IOKIT_FRAMEWORK})
|
||||||
|
|
||||||
if (FFmpeg_FOUND)
|
if (FFmpeg_FOUND)
|
||||||
target_link_libraries(openmw z)
|
|
||||||
target_link_options(openmw PRIVATE "LINKER:SHELL:-framework CoreVideo"
|
target_link_options(openmw PRIVATE "LINKER:SHELL:-framework CoreVideo"
|
||||||
"LINKER:SHELL:-framework CoreMedia"
|
"LINKER:SHELL:-framework CoreMedia"
|
||||||
"LINKER:SHELL:-framework VideoToolbox"
|
"LINKER:SHELL:-framework VideoToolbox"
|
||||||
|
|
Loading…
Reference in a new issue