mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-04-04 09:47:02 +00:00
Fix compiler flag passing to GPSTk
This commit is contained in:
parent
0c2bafffe5
commit
2bafcc2bf3
@ -229,7 +229,7 @@ if(ENABLE_UNIT_TESTING_EXTRA OR ENABLE_SYSTEM_TESTING_EXTRA OR ENABLE_FPGA)
|
||||
if(NOT GPSTK_FOUND OR ENABLE_OWN_GPSTK)
|
||||
message(STATUS "GPSTk v${GNSSSDR_GPSTK_LOCAL_VERSION} will be automatically downloaded and built when doing 'make'.")
|
||||
if ("${TOOLCHAIN_ARG}" STREQUAL "")
|
||||
set(${TOOLCHAIN_ARG} "-DCMAKE_CXX_FLAGS=\"-Wno-deprecated\"")
|
||||
set(${TOOLCHAIN_ARG} "-DCMAKE_CXX_FLAGS=-Wno-deprecated")
|
||||
endif("${TOOLCHAIN_ARG}" STREQUAL "")
|
||||
# if(NOT ENABLE_FPGA)
|
||||
if(CMAKE_VERSION VERSION_LESS 3.2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user