mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-04-05 02:07:02 +00:00
Do not strip volk_gnsssdr binaries if cross-compiling
This commit is contained in:
parent
fe8f186380
commit
029651cbe3
@ -888,7 +888,11 @@ if(NOT VOLKGNSSSDR_FOUND)
|
||||
set(STRIP_VOLK_GNSSSDR_PROFILE "")
|
||||
if(ENABLE_PACKAGING)
|
||||
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT WIN32)
|
||||
set(STRIP_VOLK_GNSSSDR_PROFILE "-DENABLE_STRIP=ON -DCMAKE_VERBOSE_MAKEFILE=ON")
|
||||
if(CMAKE_CROSSCOMPILING)
|
||||
set(STRIP_VOLK_GNSSSDR_PROFILE "-DENABLE_STRIP=OFF -DCMAKE_VERBOSE_MAKEFILE=ON")
|
||||
else()
|
||||
set(STRIP_VOLK_GNSSSDR_PROFILE "-DENABLE_STRIP=ON -DCMAKE_VERBOSE_MAKEFILE=ON")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user