|
@@ -189,23 +189,14 @@ if(WIN32)
|
|
target_compile_definitions(vcmiclient PRIVATE WINDOWS_IGNORE_PACKING_MISMATCH)
|
|
target_compile_definitions(vcmiclient PRIVATE WINDOWS_IGNORE_PACKING_MISMATCH)
|
|
elseif(APPLE_IOS)
|
|
elseif(APPLE_IOS)
|
|
target_link_libraries(vcmiclient PRIVATE
|
|
target_link_libraries(vcmiclient PRIVATE
|
|
- "-lbz2"
|
|
|
|
|
|
+ # FFmpeg
|
|
|
|
+ bz2
|
|
|
|
+ iconv
|
|
|
|
+ z
|
|
"-framework AudioToolbox"
|
|
"-framework AudioToolbox"
|
|
"-framework AVFoundation"
|
|
"-framework AVFoundation"
|
|
- "-framework CoreGraphics"
|
|
|
|
"-framework CoreMedia"
|
|
"-framework CoreMedia"
|
|
- "-framework CoreMotion"
|
|
|
|
- "-framework CoreServices"
|
|
|
|
- "-framework CoreVideo"
|
|
|
|
- "-framework Foundation"
|
|
|
|
- "-framework GameController"
|
|
|
|
- "-framework ImageIO"
|
|
|
|
- "-framework Metal"
|
|
|
|
- "-framework OpenGLES"
|
|
|
|
- "-framework QuartzCore"
|
|
|
|
- "-framework UIKit"
|
|
|
|
"-framework VideoToolbox"
|
|
"-framework VideoToolbox"
|
|
- "-weak_framework CoreHaptics"
|
|
|
|
)
|
|
)
|
|
|
|
|
|
set_target_properties(vcmiclient PROPERTIES
|
|
set_target_properties(vcmiclient PROPERTIES
|
|
@@ -247,11 +238,6 @@ if(ffmpeg_LIBRARIES)
|
|
target_link_libraries(vcmiclient PRIVATE
|
|
target_link_libraries(vcmiclient PRIVATE
|
|
${ffmpeg_LIBRARIES}
|
|
${ffmpeg_LIBRARIES}
|
|
)
|
|
)
|
|
- if(APPLE_IOS)
|
|
|
|
- target_link_libraries(vcmiclient PRIVATE
|
|
|
|
- iconv
|
|
|
|
- )
|
|
|
|
- endif()
|
|
|
|
else()
|
|
else()
|
|
target_compile_definitions(vcmiclient PRIVATE DISABLE_VIDEO)
|
|
target_compile_definitions(vcmiclient PRIVATE DISABLE_VIDEO)
|
|
endif()
|
|
endif()
|