Allow to specify IS_ARM manually

This commit is contained in:
Carles Fernandez 2019-11-01 23:27:10 +01:00
parent 87974a9456
commit 681022b9c9
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
1 changed files with 3 additions and 1 deletions

View File

@ -515,7 +515,9 @@ if(NOT OS_IS_MACOSX)
set(CMAKE_NO_SYSTEM_FROM_IMPORTED TRUE)
endif()
else()
include(TestForARM)
if(NOT IS_ARM)
include(TestForARM)
endif()
endif()
endif()