|
|
@ -33,6 +33,22 @@ endif( WITH_GCC_VISIBILITY )
|
|
|
|
find_package( X11 )
|
|
|
|
find_package( X11 )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### check for XCOMPOSITE and XDAMAGE (needed for XCOMPOSITE)
|
|
|
|
|
|
|
|
if( WITH_XCOMPOSITE )
|
|
|
|
|
|
|
|
pkg_search_module( XDAMAGE xdamage )
|
|
|
|
|
|
|
|
if( NOT XDAMAGE_FOUND )
|
|
|
|
|
|
|
|
tde_message_fatal( "xcomposite support was requested, but xdamage was not found on your system" )
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pkg_search_module( XCOMPOSITE xcomposite )
|
|
|
|
|
|
|
|
if( XCOMPOSITE_FOUND )
|
|
|
|
|
|
|
|
set( COMPOSITE 1 )
|
|
|
|
|
|
|
|
else()
|
|
|
|
|
|
|
|
tde_message_fatal( "xcomposite support was requested, but xcomposite was not found on your system" )
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
endif( WITH_XCOMPOSITE )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### check for imlib2
|
|
|
|
##### check for imlib2
|
|
|
|
|
|
|
|
|
|
|
|
pkg_search_module( IMLIB2 imlib2 )
|
|
|
|
pkg_search_module( IMLIB2 imlib2 )
|
|
|
|