better cmake
This commit is contained in:
parent
066f09f03a
commit
d84b36ef69
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ endif(GLIB2_INCLUDE_DIR AND GLIB2_LIBRARIES)
|
|||
|
||||
if (NOT WIN32)
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(PKG_GLIB REQUIRED glib-2.0)
|
||||
pkg_check_modules(PKG_GLIB glib-2.0)
|
||||
endif(NOT WIN32)
|
||||
|
||||
find_path(GLIB2_MAIN_INCLUDE_DIR glib.h
|
||||
|
|
Loading…
Add table
Reference in a new issue