mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-06 01:56:25 +00:00
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
This commit is contained in:
commit
2986423f72
@ -890,15 +890,20 @@ if(NOT VOLKGNSSSDR_FOUND)
|
||||
message(FATAL_ERROR "six - python 2 and 3 compatibility library required to build VOLK_GNSSSDR")
|
||||
endif()
|
||||
|
||||
if(Python3_FOUND)
|
||||
set_package_properties(Python3 PROPERTIES
|
||||
URL "https://www.python.org/"
|
||||
DESCRIPTION "An interpreted, high-level, general-purpose programming language (found: ${Python3_VERSION})"
|
||||
PURPOSE "Required to build volk_gnsssdr."
|
||||
TYPE REQUIRED
|
||||
)
|
||||
if(Python3_FOUND)
|
||||
set_package_properties(Python3 PROPERTIES
|
||||
DESCRIPTION "An interpreted, high-level, general-purpose programming language (found: ${Python3_VERSION})"
|
||||
)
|
||||
else()
|
||||
set_package_properties(Python3 PROPERTIES
|
||||
DESCRIPTION "An interpreted, high-level, general-purpose programming language"
|
||||
)
|
||||
endif()
|
||||
|
||||
if(Python2_FOUND)
|
||||
set_package_properties(Python2 PROPERTIES
|
||||
URL "https://www.python.org/"
|
||||
|
@ -120,6 +120,7 @@ if(GFLAGS_FOUND)
|
||||
if(PACKAGE_VERSION)
|
||||
set(GFLAGS_VERSION ${PACKAGE_VERSION})
|
||||
endif()
|
||||
unset(PACKAGE_VERSION)
|
||||
endif()
|
||||
|
||||
if(GFLAGS_FOUND AND NOT TARGET Gflags::gflags)
|
||||
|
@ -193,6 +193,7 @@ if(NOT PC_GNURADIO_RUNTIME_VERSION)
|
||||
if(PACKAGE_VERSION)
|
||||
set(PC_GNURADIO_RUNTIME_VERSION ${PACKAGE_VERSION})
|
||||
endif()
|
||||
unset(PACKAGE_VERSION)
|
||||
endif()
|
||||
|
||||
# Trick to find out that GNU Radio is >= 3.7.4 if pkgconfig is not present
|
||||
|
@ -89,6 +89,7 @@ if(NOT PC_UHD_VERSION)
|
||||
if(PACKAGE_VERSION)
|
||||
set(UHD_VERSION ${PACKAGE_VERSION})
|
||||
endif()
|
||||
unset(PACKAGE_VERSION)
|
||||
endif()
|
||||
|
||||
if(UHD_FOUND AND NOT TARGET Uhd::uhd)
|
||||
|
@ -92,6 +92,7 @@ if(NOT VOLK_VERSION)
|
||||
if(PACKAGE_VERSION)
|
||||
set(VOLK_VERSION ${PACKAGE_VERSION})
|
||||
endif()
|
||||
unset(PACKAGE_VERSION)
|
||||
endif()
|
||||
|
||||
mark_as_advanced(VOLK_LIBRARIES VOLK_INCLUDE_DIRS VOLK_VERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user