mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-20 13:00:10 +00:00
CMake: fix for old CMake
This commit is contained in:
parent
6bf7cd9f30
commit
1a6dc7263d
@ -416,7 +416,7 @@ if(GNURADIO_RUNTIME_INCLUDE_DIRS)
|
||||
PURPOSE "Required by GNU Radio."
|
||||
TYPE REQUIRED
|
||||
)
|
||||
if(CMAKE_VERSION VERSION_GREATER 3.8)
|
||||
if(CMAKE_VERSION VERSION_GREATER 3.13)
|
||||
target_link_libraries(Gnuradio::filter INTERFACE Log4cpp::log4cpp)
|
||||
else()
|
||||
set(LOG4CPP_WITH_OLD_CMAKE TRUE)
|
||||
@ -430,6 +430,7 @@ if(GNURADIO_RUNTIME_INCLUDE_DIRS)
|
||||
PURPOSE "Required by GNU Radio."
|
||||
TYPE REQUIRED
|
||||
)
|
||||
set(GNURADIO_USES_SPDLOG TRUE)
|
||||
target_link_libraries(Gnuradio::runtime INTERFACE spdlog::spdlog)
|
||||
target_link_libraries(Gnuradio::blocks INTERFACE spdlog::spdlog)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user