|
Lines 101-106
OPTION( WITH_LZMA "Enable support for LZMA/XZ" ${WITH_ALL_OPTIONS} )
Link Here
|
| 101 |
OPTION( WITH_LIBBFD "Enable pretty backtraces with libbfd from GNU binutils" OFF ) |
101 |
OPTION( WITH_LIBBFD "Enable pretty backtraces with libbfd from GNU binutils" OFF ) |
| 102 |
OPTION( WITH_XRANDR "Build the tderandr library" ON ) |
102 |
OPTION( WITH_XRANDR "Build the tderandr library" ON ) |
| 103 |
OPTION( WITH_XCOMPOSITE "Enable xcomposite support" ON ) |
103 |
OPTION( WITH_XCOMPOSITE "Enable xcomposite support" ON ) |
|
|
104 |
OPTION( WITH_MITSHM "Use MIT-SHM for pixmap loading/saving" ${WITH_ALL_OPTIONS} ) |
| 104 |
OPTION( WITH_KDE4_MENU_SUFFIX "Add [KDE4] tag to KDE4 menu items" OFF ) |
105 |
OPTION( WITH_KDE4_MENU_SUFFIX "Add [KDE4] tag to KDE4 menu items" OFF ) |
| 105 |
|
106 |
|
| 106 |
OPTION( WITH_ASPELL "Enable aspell support" ${WITH_ALL_OPTIONS} ) |
107 |
OPTION( WITH_ASPELL "Enable aspell support" ${WITH_ALL_OPTIONS} ) |
|
Lines 690-695
else( XRENDER_FOUND)
Link Here
|
| 690 |
message(FATAL_ERROR "\nxrender support is required, but not found on your system" ) |
691 |
message(FATAL_ERROR "\nxrender support is required, but not found on your system" ) |
| 691 |
endif( XRENDER_FOUND ) |
692 |
endif( XRENDER_FOUND ) |
| 692 |
|
693 |
|
|
|
694 |
|
| 693 |
##### check for xcomposite ######################### |
695 |
##### check for xcomposite ######################### |
| 694 |
|
696 |
|
| 695 |
if( WITH_XCOMPOSITE ) |
697 |
if( WITH_XCOMPOSITE ) |
|
Lines 699-711
if( WITH_XCOMPOSITE )
Link Here
|
| 699 |
else( WITH_XCOMPOSITE ) |
701 |
else( WITH_XCOMPOSITE ) |
| 700 |
tde_message_fatal( "xcomposite support was requested, but xcomposite was not found on your system" ) |
702 |
tde_message_fatal( "xcomposite support was requested, but xcomposite was not found on your system" ) |
| 701 |
endif( XCOMPOSITE_FOUND ) |
703 |
endif( XCOMPOSITE_FOUND ) |
|
|
704 |
endif( WITH_XCOMPOSITE ) |
| 705 |
|
| 706 |
|
| 707 |
##### check for mit-shm extension ################## |
| 702 |
|
708 |
|
| 703 |
# xext (tderandr, tdestyles/keramik, tdeui) |
709 |
if( WITH_MITSHM ) |
|
|
710 |
tde_save_and_set( CMAKE_REQUIRED_FLAGS "-include X11/Xlib.h" ) |
| 711 |
check_include_file( "X11/extensions/XShm.h" HAVE_MITSHM ) |
| 712 |
tde_restore( CMAKE_REQUIRED_FLAGS ) |
| 713 |
if( NOT HAVE_MITSHM ) |
| 714 |
tde_message_fatal( "XShm extension is required, but was not found on your system" ) |
| 715 |
endif( NOT HAVE_MITSHM ) |
| 716 |
endif( WITH_MITSHM ) |
| 717 |
|
| 718 |
|
| 719 |
##### check for xext ############################### |
| 720 |
|
| 721 |
if( HAVE_XRENDER OR WITH_XCOMPOSITE OR WITH_XRANDR OR HAVE_X11_EXTENSIONS_SHAPE_H OR WITH_MITSHM ) |
| 722 |
# xext (tdecore, tdeui, tderandr, tdestyles/keramik) |
| 704 |
pkg_search_module( XEXT xext ) |
723 |
pkg_search_module( XEXT xext ) |
| 705 |
if( NOT XEXT_FOUND ) |
724 |
if( NOT XEXT_FOUND ) |
| 706 |
tde_message_fatal( "xext is required for xcomposite support, but was not found on your system" ) |
725 |
tde_message_fatal( "xext is required, but was not found on your system" ) |
| 707 |
endif( ) |
726 |
endif( ) |
| 708 |
endif( WITH_XCOMPOSITE ) |
727 |
endif( HAVE_XRENDER OR WITH_XCOMPOSITE OR WITH_XRANDR OR HAVE_X11_EXTENSIONS_SHAPE_H OR WITH_MITSHM ) |
| 709 |
|
728 |
|
| 710 |
|
729 |
|
| 711 |
##### check for libxml-2.0 ###################### |
730 |
##### check for libxml-2.0 ###################### |