mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-07 13:56:44 +00:00
1 parent
ed7a87f270
commit
005e2cdfb0
1 file changed
+1
-1
@@ -77,7 +77,7 @@ else()
|
||||
set(CMAKE_${lang}_COMPILE_OPTIONS_IPO "-flto")
|
||||
endif()
|
||||
|
||||
if(ANDROID)
|
||||
if(ANDROID AND NOT CMAKE_ANDROID_NDK_VERSION VERSION_GREATER_EQUAL "22")
|
||||
# https://github.com/android-ndk/ndk/issues/242
|
||||
set(CMAKE_${lang}_LINK_OPTIONS_IPO "-fuse-ld=gold")
|
||||
endif()
|
||||
|
||||
Reference in new issue
Block a user