Do not look for libraries that are disabled
This commit is contained in:
parent
2d5f2dd794
commit
1b545f6bbe
1 changed files with 6 additions and 0 deletions
|
@ -20,8 +20,14 @@ pkg_check_modules( CAIRO REQUIRED cairo )
|
|||
pkg_check_modules( GLIB2 REQUIRED glib-2.0 )
|
||||
pkg_check_modules( GOBJECT2 REQUIRED gobject-2.0 )
|
||||
pkg_check_modules( IMLIB2 REQUIRED imlib2>=1.4.2 )
|
||||
|
||||
if( ENABLE_RSVG )
|
||||
pkg_check_modules( RSVG librsvg-2.0>=2.14.0 )
|
||||
endif( ENABLE_RSVG )
|
||||
|
||||
if( ENABLE_SN )
|
||||
pkg_check_modules( SN libstartup-notification-1.0>=0.12 )
|
||||
endif(ENABLE_SN)
|
||||
|
||||
find_library( RT_LIBRARY rt )
|
||||
|
||||
|
|
Loading…
Reference in a new issue