1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-06-26 15:03:14 +00:00

Fix for old CMake

This commit is contained in:
Carles Fernandez 2022-08-23 15:44:50 +02:00
parent 1a4e9dc274
commit 6bf7cd9f30
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -416,7 +416,7 @@ if(GNURADIO_RUNTIME_INCLUDE_DIRS)
PURPOSE "Required by GNU Radio."
TYPE REQUIRED
)
if(CMAKE_VERSION VERSION_GREATER 3.0)
if(CMAKE_VERSION VERSION_GREATER 3.8)
target_link_libraries(Gnuradio::filter INTERFACE Log4cpp::log4cpp)
else()
set(LOG4CPP_WITH_OLD_CMAKE TRUE)