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.
tdebase/ksplashml/themeengine/simple/CMakeLists.txt

41 lines
1003 B

#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
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}
)
link_directories(
${TQT_LIBRARY_DIRS}
)
##### ksplashsimple (executable) ################
tde_add_executable( ksplashsimple
SOURCES main.cpp
LINK ${TQT_LIBRARIES} X11 ${XINERAMA_LIBRARY}
DESTINATION ${BIN_INSTALL_DIR}
)