1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-12-10 02:28:06 +00:00

Fixes for building against GNU Radio master

Log4cpp has been replaced by spdlog
This commit is contained in:
Carles Fernandez
2021-11-23 13:30:48 +01:00
parent c2a23dd372
commit cc38d6bc08
5 changed files with 32 additions and 9 deletions

View File

@@ -609,13 +609,12 @@ endif()
################################################################################
# Log4cpp - http://log4cpp.sourceforge.net/
################################################################################
find_package(LOG4CPP)
set_package_properties(LOG4CPP PROPERTIES
PURPOSE "Required by GNU Radio."
TYPE REQUIRED
)
if(NOT LOG4CPP_FOUND)
message(FATAL_ERROR "*** Log4cpp is required to build gnss-sdr")
if(GNURADIO_USES_LOG4CPP)
find_package(LOG4CPP)
set_package_properties(LOG4CPP PROPERTIES
PURPOSE "Required by GNU Radio."
TYPE OPTIONAL
)
endif()