blob: 0f4025b306acb879b999d608da94e6400db5e70b (
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
37
38
39
40
41
42
|
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${GTK_INCLUDE_DIRS}
${BONOBO_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
${GTK_LIBDIR}
${BONOBO_LIBDIR}
)
##### qtengine (shared)
set( target qtengine )
set( ${target}_SRCS
qt_main.c
qt_qt_wrapper.cpp
qt_rc_style.c
qt_theme_draw.c
)
tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS}
LINK ${GTK_LIBRARIES} ${BONOBO_LIBRARIES} X11 tdecore-shared
DESTINATION ${INSTALL_PATH_GTK_ENGINES}
)
##### other data
install(
FILES gtkrc
DESTINATION "${INSTALL_PATH_GTK_THEMES}/Qt/gtk-2.0"
)
|