Build: Fixes for Android

This commit is contained in:
Connor McLaughlin
2022-09-22 23:11:11 +10:00
parent 736996ab38
commit 6fa8c3962e
2 changed files with 9 additions and 2 deletions

View File

@ -57,7 +57,9 @@ if(USE_WAYLAND)
endif()
if(ANDROID)
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)
if(CMAKE_BUILD_TYPE STREQUAL "Release")
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()
set(BUILD_NOGUI_FRONTEND OFF)
set(BUILD_QT_FRONTEND OFF)
set(BUILD_REGTEST OFF)