mirror of https://github.com/gnss-sdr/gnss-sdr
Fix cross-compilation
This commit is contained in:
parent
d4da5d2879
commit
eb281bcd68
|
@ -413,6 +413,9 @@ endif()
|
||||||
if(NOT OS_IS_MACOSX)
|
if(NOT OS_IS_MACOSX)
|
||||||
if(CMAKE_CROSSCOMPILING)
|
if(CMAKE_CROSSCOMPILING)
|
||||||
set(IS_ARM TRUE)
|
set(IS_ARM TRUE)
|
||||||
|
if(NOT CMAKE_NO_SYSTEM_FROM_IMPORTED)
|
||||||
|
set(CMAKE_NO_SYSTEM_FROM_IMPORTED TRUE)
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
include(TestForARM)
|
include(TestForARM)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue