mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-12 10:20:32 +00:00
Print more friendly message if optional Pcap library is not found
This commit is contained in:
parent
31c8b7afff
commit
58cfa744ad
@ -92,13 +92,13 @@ set(PCAP_LIBRARIES ${PCAP_LIBRARY})
|
|||||||
if(PCAP_INCLUDE_DIRS)
|
if(PCAP_INCLUDE_DIRS)
|
||||||
message(STATUS "Pcap include dirs set to ${PCAP_INCLUDE_DIRS}")
|
message(STATUS "Pcap include dirs set to ${PCAP_INCLUDE_DIRS}")
|
||||||
else()
|
else()
|
||||||
message(FATAL " Pcap include dirs cannot be found")
|
message(STATUS "Pcap include dirs cannot be found.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(PCAP_LIBRARIES)
|
if(PCAP_LIBRARIES)
|
||||||
message(STATUS "Pcap library set to ${PCAP_LIBRARIES}")
|
message(STATUS "Pcap library set to ${PCAP_LIBRARIES}")
|
||||||
else()
|
else()
|
||||||
message(FATAL "Pcap library cannot be found")
|
message(STATUS "Pcap library cannot be found.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#Functions
|
#Functions
|
||||||
|
Loading…
Reference in New Issue
Block a user