mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-20 20:35:46 +08:00
cmake: don't install Android.mk files for Android
This commit is contained in:
committed by
Anonymous Maarten
parent
09e2f83e17
commit
5690dfb65b
@@ -3319,10 +3319,6 @@ if(NOT SDL_DISABLE_INSTALL)
|
||||
NAMESPACE SDL3::
|
||||
DESTINATION "${SDL_INSTALL_CMAKEDIR}"
|
||||
)
|
||||
if(ANDROID AND NOT CMAKE_VERSION VERSION_LESS 3.7)
|
||||
install(EXPORT_ANDROID_MK SDL3Targets
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/ndk-modules/SDL3")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(SDL_STATIC)
|
||||
@@ -3331,10 +3327,6 @@ if(NOT SDL_DISABLE_INSTALL)
|
||||
NAMESPACE SDL3::
|
||||
DESTINATION "${SDL_INSTALL_CMAKEDIR}"
|
||||
)
|
||||
if(ANDROID AND NOT CMAKE_VERSION VERSION_LESS 3.7)
|
||||
install(EXPORT_ANDROID_MK SDL3staticTargets
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/ndk-modules/SDL3-static")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(SDL_TEST)
|
||||
@@ -3343,10 +3335,6 @@ if(NOT SDL_DISABLE_INSTALL)
|
||||
NAMESPACE SDL3::
|
||||
DESTINATION "${SDL_INSTALL_CMAKEDIR}"
|
||||
)
|
||||
if(ANDROID AND NOT CMAKE_VERSION VERSION_LESS 3.7)
|
||||
install(EXPORT_ANDROID_MK SDL3testTargets
|
||||
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/ndk-modules/SDL3_test")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
install(
|
||||
|
||||
Reference in New Issue
Block a user