mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
Install extlibs on iOS if needed
This commit is contained in:
parent
806813e937
commit
66369645b5
@ -488,10 +488,8 @@ elseif(SFML_OS_MACOSX)
|
||||
|
||||
elseif(SFML_OS_IOS)
|
||||
|
||||
# fix CMake install rules broken for iOS (see https://public.kitware.com/Bug/view.php?id=12506)
|
||||
if(SFML_OS_IOS)
|
||||
install(DIRECTORY "${CMAKE_BINARY_DIR}/lib/\$ENV{CONFIGURATION}/" DESTINATION lib${LIB_SUFFIX})
|
||||
endif()
|
||||
# fix CMake install rules broken for iOS (see http://public.kitware.com/Bug/view.php?id=12506)
|
||||
install(DIRECTORY "${CMAKE_BINARY_DIR}/lib/\$ENV{CONFIGURATION}/" DESTINATION lib${LIB_SUFFIX})
|
||||
|
||||
if(NOT SFML_USE_SYSTEM_DEPS)
|
||||
# since the iOS libraries are built as static, we must install the SFML dependencies
|
||||
@ -499,6 +497,13 @@ elseif(SFML_OS_IOS)
|
||||
if(SFML_BUILD_GRAPHICS)
|
||||
install(FILES extlibs/libs-ios/libfreetype.a DESTINATION lib)
|
||||
endif()
|
||||
|
||||
if(SFML_BUILD_AUDIO)
|
||||
install(FILES extlibs/libs-ios/libflac.a
|
||||
extlibs/libs-ios/libvorbis.a
|
||||
extlibs/libs-ios/libogg.a
|
||||
DESTINATION lib)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
elseif(SFML_OS_ANDROID)
|
||||
|
Loading…
Reference in New Issue
Block a user