1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-06-26 23:22:53 +00:00

Silence annoying warnings from gpstk

This commit is contained in:
Carles Fernandez 2018-10-11 16:48:20 +02:00
parent 7a3d394a0f
commit 0c2bafffe5

View File

@ -228,7 +228,9 @@ if(ENABLE_UNIT_TESTING_EXTRA OR ENABLE_SYSTEM_TESTING_EXTRA OR ENABLE_FPGA)
find_package(GPSTK)
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\"")
endif("${TOOLCHAIN_ARG}" STREQUAL "")
# if(NOT ENABLE_FPGA)
if(CMAKE_VERSION VERSION_LESS 3.2)
ExternalProject_Add(