From 30252262ce90415f09232c51724a393c8dd6a7fe Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Mon, 7 Apr 2014 00:41:17 +0400 Subject: Move the Xinerama test to main ConfigureChecks.cmake --- ksplashml/themeengine/simple/CMakeLists.txt | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'ksplashml') diff --git a/ksplashml/themeengine/simple/CMakeLists.txt b/ksplashml/themeengine/simple/CMakeLists.txt index 927f4b507..2b486e4f1 100644 --- a/ksplashml/themeengine/simple/CMakeLists.txt +++ b/ksplashml/themeengine/simple/CMakeLists.txt @@ -9,18 +9,6 @@ # ################################################# -if( WITH_XINERAMA ) - check_include_file( "X11/extensions/Xinerama.h" X11_EXTENSIONS_XINERAMA_H ) - if( X11_EXTENSIONS_XINERAMA_H ) - check_library_exists( Xinerama XineramaQueryExtension "" HAVE_XINERAMA ) - endif( X11_EXTENSIONS_XINERAMA_H ) - if( NOT HAVE_XINERAMA ) - tde_message_fatal( "xinerama are requested, but not found on your system" ) - endif( NOT HAVE_XINERAMA ) - set( XINERAMA_LIBRARY Xinerama ) -endif( WITH_XINERAMA ) - - include_directories( ${CMAKE_BINARY_DIR} ${TQT_INCLUDE_DIRS} @@ -35,6 +23,6 @@ link_directories( tde_add_executable( ksplashsimple SOURCES main.cpp - LINK ${TQT_LIBRARIES} X11 ${XINERAMA_LIBRARY} + LINK ${TQT_LIBRARIES} X11 ${XINERAMA_LIBRARIES} DESTINATION ${BIN_INSTALL_DIR} ) -- cgit v1.2.1