blob: e31d55c983ac4abda0d2916b78e3ed29640d4fe1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#################################################
#
# (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}
)
##### ksplashsimple (executable) ################
tde_add_executable( ksplashsimple
SOURCES main.cpp
LINK ${TQT_LIBRARIES} X11 ${XINERAMA_LIBRARY}
DESTINATION ${BIN_INSTALL_DIR}
)
|