mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
[cmake,android] enable LTO if CMake >= 3.20.0
This commit is contained in:
parent
73e26b6f96
commit
9f60bb40a2
@ -14,7 +14,7 @@ endif()
|
||||
|
||||
# known issue on android, thus disabled until we support newer CMake
|
||||
# https://github.com/android/ndk/issues/1444
|
||||
if(NOT ANDROID)
|
||||
if(NOT ANDROID OR ("${CMAKE_VERSION}" GREATER_EQUAL "3.20.0"))
|
||||
if(POLICY CMP0069)
|
||||
cmake_policy(SET CMP0069 NEW)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user