mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 02:39:10 +00:00
ci: Test cmake build script on Android
android
This commit is contained in:
committed by
Sam Lantinga
parent
18206446bf
commit
86f50ae7d7
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user