mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-26 08:56:58 +00:00
Fix cross-compiling when a Toolchain file is specified
This commit is contained in:
parent
bc9725c745
commit
5a737dd329
@ -860,7 +860,7 @@ if(NOT VOLKGNSSSDR_FOUND)
|
||||
)
|
||||
else()
|
||||
if(CMAKE_TOOLCHAIN_FILE)
|
||||
set(VOLK_GNSSSDR_CMAKE_ARGS ${VOLK_GNSSSDR_CMAKE_ARGS}
|
||||
set(VOLK_GNSSSDR_CMAKE_ARGS
|
||||
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
|
||||
)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user