mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-12 02:10:34 +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)
|
||||
message(STATUS "Pcap include dirs set to ${PCAP_INCLUDE_DIRS}")
|
||||
else()
|
||||
message(FATAL " Pcap include dirs cannot be found")
|
||||
message(STATUS "Pcap include dirs cannot be found.")
|
||||
endif()
|
||||
|
||||
if(PCAP_LIBRARIES)
|
||||
message(STATUS "Pcap library set to ${PCAP_LIBRARIES}")
|
||||
else()
|
||||
message(FATAL "Pcap library cannot be found")
|
||||
message(STATUS "Pcap library cannot be found.")
|
||||
endif()
|
||||
|
||||
#Functions
|
||||
|
Loading…
Reference in New Issue
Block a user