ci: Test cmake build script on Android

android
This commit is contained in:
Anonymous Maarten authored and Sam Lantinga committed 2022-06-15 11:11:49 -07:00
1 parent 18206446bf
commit 86f50ae7d7
3 files changed
+60 -2

No files matched your search

+3
View File
@@ -15,6 +15,9 @@ if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")
set(SDL2_SDL2_FOUND TRUE)
endif()
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake")
if(ANDROID)
enable_language(CXX)
endif()
include("${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake")
set(SDL2_SDL2-static_FOUND TRUE)
endif()