mirror of https://github.com/encounter/SDL.git
Description: fix installation of shared library for Android
Author: Boris Pek <tehnick-8@yandex.ru> Last-Update: 2018-01-10
This commit is contained in:
parent
cd53220749
commit
c329381f4c
|
@ -1796,10 +1796,12 @@ if(NOT (WINDOWS OR CYGWIN))
|
||||||
else()
|
else()
|
||||||
set(SOEXT "so")
|
set(SOEXT "so")
|
||||||
endif()
|
endif()
|
||||||
install(CODE "
|
if(NOT ANDROID)
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
|
install(CODE "
|
||||||
\"libSDL2-2.0.${SOEXT}\" \"libSDL2.${SOEXT}\")")
|
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
|
||||||
install(FILES ${SDL2_BINARY_DIR}/libSDL2.${SOEXT} DESTINATION "lib${LIB_SUFFIX}")
|
\"libSDL2-2.0.${SOEXT}\" \"libSDL2.${SOEXT}\")")
|
||||||
|
install(FILES ${SDL2_BINARY_DIR}/libSDL2.${SOEXT} DESTINATION "lib${LIB_SUFFIX}")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(FREEBSD)
|
if(FREEBSD)
|
||||||
# FreeBSD uses ${PREFIX}/libdata/pkgconfig
|
# FreeBSD uses ${PREFIX}/libdata/pkgconfig
|
||||||
|
|
Loading…
Reference in New Issue