Updating submodules
[hiphop-php.git] / CMake / FindGLIB.cmake
blob06feb705dd189b8a97bab357b26e317cc1d232f1
1 find_path(GLIB_INCLUDE_DIR
2           NAMES "glib.h"
3           PATHS "/usr/include" "/usr/local/include"
4           PATH_SUFFIXES "glib-2.0")
5 find_path(GLIB_CONFIG_INCLUDE_DIR
6           NAMES "glibconfig.h"
7           PATHS "/usr/lib64" "/usr/lib" "/usr/local/lib64" "/usr/local/lib" "/usr/lib/x86_64-linux-gnu" "/usr/lib/aarch64-linux-gnu"
8           PATH_SUFFIXES "glib-2.0/include")
9 include(FindPackageHandleStandardArgs)
10 FIND_PACKAGE_HANDLE_STANDARD_ARGS(GLIB DEFAULT_MSG
11                                   GLIB_INCLUDE_DIR
12                                   GLIB_CONFIG_INCLUDE_DIR)
13 mark_as_advanced(GLIB_INCLUDE_DIR
14                  GLIB_CONFIG_INCLUDE_DIR)