You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdegraphics/ksnapshot/ConfigureChecks.cmake

22 lines
596 B

#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
## test for and explicitly include libXext
if( WITH_XEXT )
pkg_search_module( XEXT xext )
if( XEXT_FOUND )
check_include_file( "X11/extensions/shape.h" HAVE_X11_EXTENSIONS_SHAPE_H )
endif( )
if( NOT XEXT_FOUND )
tde_message_fatal( "You requested Xext support, but was not found on your system." )
endif( )
endif( )