1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-11-02 16:23:06 +00:00

Fix cmakelint and cpplint reported format errors

This commit is contained in:
Javier Arribas
2021-12-01 14:52:27 +01:00
parent 8a4055b5b8
commit c8f7966688
6 changed files with 36 additions and 38 deletions

View File

@@ -132,20 +132,16 @@ if(GRLIMESDR_FOUND AND NOT TARGET Gnuradio::limesdr)
INTERFACE_LINK_LIBRARIES "${GRLIMESDR_LIBRARIES}"
)
#check for PPS custom version
file(READ ${GRLIMESDR_INCLUDE_DIR}/limesdr/source.h TMPTXT)
string(FIND "${TMPTXT}" "enable_PPS_mode" matchres)
message(STATUS ${matchres})
if(${matchres} EQUAL -1)
message("Using standard gr-limesdr library ")
else()
set(GRLIMESDR_PPS True)
#check for PPS custom version
file(READ ${GRLIMESDR_INCLUDE_DIR}/limesdr/source.h TMPTXT)
string(FIND "${TMPTXT}" "enable_PPS_mode" matchres)
message(STATUS ${matchres})
if(${matchres} EQUAL -1)
message("Using standard gr-limesdr library ")
else()
set(GRLIMESDR_PPS True)
message("Using custom gr-limesdr library with PPS support ")
endif ()
endif()
endif()
mark_as_advanced(GRLIMESDR_LIBRARIES GRLIMESDR_INCLUDE_DIR)