mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Fixes for the embedded Abseil
This commit is contained in:
parent
4515e67b3f
commit
3e2c0f2e6a
@ -34,7 +34,9 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND
|
||||
endif()
|
||||
|
||||
target_include_directories(obsdiff PUBLIC ${GNSSSDR_SOURCE_DIR}/src/tests/common-files)
|
||||
set_property(TARGET obsdiff PROPERTY CXX_STANDARD 14) # Required by GPSTk v3.0.0
|
||||
if("${GNSSTK_VERSION}" VERSION_LESS 3.0.1)
|
||||
set_property(TARGET obsdiff PROPERTY CXX_STANDARD 14) # Required by GPSTk v3.0.0
|
||||
endif()
|
||||
# Do not show warnings raised by GPSTk v3.0.0
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_options(obsdiff
|
||||
@ -111,7 +113,7 @@ if("${ARMADILLO_VERSION_STRING}" VERSION_GREATER "9.800" OR (NOT ARMADILLO_FOUND
|
||||
target_link_libraries(obsdiff PRIVATE Gflags::gflags)
|
||||
target_compile_definitions(obsdiff PRIVATE -DUSE_GLOG_AND_GFLAGS=1)
|
||||
else()
|
||||
target_link_libraries(obsdiff PRIVATE absl::flags absl::flags_parse)
|
||||
target_link_libraries(obsdiff PUBLIC absl::flags absl::flags_parse)
|
||||
endif()
|
||||
|
||||
if(ENABLE_STRIP)
|
||||
|
@ -59,7 +59,10 @@ if(Boost_FOUND)
|
||||
add_executable(rinex2assist ${CMAKE_CURRENT_SOURCE_DIR}/main.cc)
|
||||
endif()
|
||||
|
||||
set_property(TARGET rinex2assist PROPERTY CXX_STANDARD 14) # Required by GPSTk
|
||||
if("${GNSSTK_VERSION}" VERSION_LESS 3.0.1)
|
||||
set_property(TARGET obsdiff PROPERTY CXX_STANDARD 14) # Required by GPSTk v3.0.0
|
||||
endif()
|
||||
|
||||
# Do not show warnings raised by GPSTk v3.0.0
|
||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
target_compile_options(rinex2assist
|
||||
|
Loading…
Reference in New Issue
Block a user