[Cmake-commits] [cmake-commits] hoffman committed UsePkgConfig.cmake 1.7 1.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Sep 16 12:40:42 EDT 2009
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv26084/Modules
Modified Files:
UsePkgConfig.cmake
Log Message:
Fix for bug#9553, print a warning if pkg-config is not found.
Index: UsePkgConfig.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/UsePkgConfig.cmake,v
retrieving revision 1.7
retrieving revision 1.8
diff -C 2 -d -r1.7 -r1.8
*** UsePkgConfig.cmake 16 Aug 2008 11:01:49 -0000 1.7
--- UsePkgConfig.cmake 16 Sep 2009 16:40:37 -0000 1.8
***************
*** 54,57 ****
--- 54,62 ----
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)
More information about the Cmake-commits
mailing list