1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-28 07:08:24 +00:00

Print more friendly message if optional Pcap library is not found

This commit is contained in:
Carles Fernandez 2019-06-18 22:09:24 +02:00
parent 31c8b7afff
commit 58cfa744ad
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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