build CHANGE print found libyang header
@@ -209,7 +209,7 @@ find_path(LY_HEADER_PATH "libyang/libyang.h" HINTS ${LIBYANG_INCLUDE_DIR})
file(READ "${LY_HEADER_PATH}/libyang/libyang.h" LY_HEADER)
string(REGEX MATCH "#define LY_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\"" LY_VERSION_MACRO "${LY_HEADER}")
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.[0-9]+" LY_VERSION "${LY_VERSION_MACRO}")
-message(STATUS "Libyang SO version ${LY_VERSION} found")
+message(STATUS "Libyang SO version ${LY_VERSION} found (${LY_HEADER_PATH}/libyang/libyang.h)")
if(LY_VERSION VERSION_LESS LIBYANG_DEP_SOVERSION)
message(FATAL_ERROR "Libyang version too old, please update to at least ${LIBYANG_DEP_VERSION} (SO ${LIBYANG_DEP_SOVERSION})")
endif()
