blob: 195eaab128dab845537da7021c7ed74b71f510b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
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_LINK_FLAGS} ${BONOBO_LINK_FLAGS} ${TQT_LIBRARIES} -lX11 -ltdecore
DESTINATION ${INSTALL_PATH_GTK_ENGINES}
)
# Add GTK's cflags
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
INSTALL(
FILES gtkrc
DESTINATION "${INSTALL_PATH_GTK_THEMES}/Qt/gtk-2.0"
)
|