Fix for bug#9553, print a warning if pkg-config is not found.

This commit is contained in:
Bill Hoffman 2009-09-16 12:40:37 -04:00
parent b5e558e291
commit 0b937cc4ae
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ MACRO(PKGCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
ENDIF(NOT _return_VALUE)
# if pkg-config has NOT been found, INFORM the user
ELSE(PKGCONFIG_EXECUTABLE)
MESSAGE(STATUS "WARNING: PKGCONFIG() indicates that the tool pkg-config has not been found on your system. You should install it.")
ENDIF(PKGCONFIG_EXECUTABLE)
ENDMACRO(PKGCONFIG _include_DIR _link_DIR _link_FLAGS _cflags)