Improve CMake messages

This commit is contained in:
Carles Fernandez 2018-11-10 19:32:45 +01:00
parent a7f39c9470
commit 571c8c67fd
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
2 changed files with 3 additions and 1 deletions

View File

@ -1220,6 +1220,9 @@ endif(NOT MATIO_FOUND OR MATIO_VERSION_STRING VERSION_LESS ${GNSSSDR_MATIO_MIN_V
# PugiXML - https://pugixml.org/
################################################################################
find_package(PugiXML QUIET)
if(PugiXML_FOUND)
message(STATUS "PugiXML has been found. Reading of GSA Galileo almanac XML files enabled.")
endif(PugiXML_FOUND)
################################################################################

View File

@ -37,7 +37,6 @@ set(CORE_LIBS_HEADERS
)
if(PugiXML_FOUND)
message(STATUS "PugiXML has been found. Reading of GSA Galileo almanac XML files enabled.")
add_definitions( -DPUGIXML_FOUND=1 )
else(PugiXML_FOUND)
set(PUGIXML_INCLUDE_DIR "")