Fix for bug#9553, print a warning if pkg-config is not found.
This commit is contained in:
parent
b5e558e291
commit
0b937cc4ae
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue