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.
36 lines
905 B
36 lines
905 B
#################################################
|
|
#
|
|
# (C) 2010-2011 Serghei Amelian
|
|
# serghei (DOT) amelian (AT) gmail.com
|
|
#
|
|
# Improvements and feedback are welcome
|
|
#
|
|
# This file is released under GPL >= 2
|
|
#
|
|
#################################################
|
|
|
|
pkg_search_module( XFT xft )
|
|
if( NOT XFT_FOUND )
|
|
tde_message_fatal( "Xft is required, but was not found on your system" )
|
|
endif( )
|
|
|
|
|
|
find_package( JPEG )
|
|
if( NOT JPEG_FOUND )
|
|
tde_message_fatal( "jpeg is required, but was not found on your system" )
|
|
endif( )
|
|
|
|
|
|
# check for libpaper
|
|
if( WITH_PAPER )
|
|
check_include_file( paper.h HAVE_PAPER_H )
|
|
if( HAVE_PAPER_H )
|
|
check_library_exists( paper paperinit "" HAVE_PAPER )
|
|
endif( )
|
|
if( HAVE_PAPER_H AND HAVE_PAPER )
|
|
set( PAPER_LIBRARY paper CACHE INTERNAL "" FORCE )
|
|
else( )
|
|
tde_message_fatal( "libpaper is required, but was not found on your system" )
|
|
endif( )
|
|
endif( )
|