diff --git a/CMakeLists.txt b/CMakeLists.txt index 15432d2d3..e02ab71df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) ################################################################################ diff --git a/src/core/libs/CMakeLists.txt b/src/core/libs/CMakeLists.txt index c901ea715..7640bca99 100644 --- a/src/core/libs/CMakeLists.txt +++ b/src/core/libs/CMakeLists.txt @@ -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 "")