mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-09-02 02:48:00 +00:00
Fix cross-compiling when a Toolchain file is specified
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user