diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:24:50 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-12-28 20:24:50 +0100 |
commit | 09795a01ef859f072920de9df974d1b03b9ab9a4 (patch) | |
tree | 4d05907fc37f1bd781e506f5e196f7435aeec0ab /app/wlib/gtklib/CMakeLists.txt | |
parent | 5b4163d8c76b03f0d31b09866aa4bd06b4d8d804 (diff) |
New upstream version 4.2.4aupstream/4.2.4a
Diffstat (limited to 'app/wlib/gtklib/CMakeLists.txt')
-rw-r--r-- | app/wlib/gtklib/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/wlib/gtklib/CMakeLists.txt b/app/wlib/gtklib/CMakeLists.txt index fabc5d8..cce9866 100644 --- a/app/wlib/gtklib/CMakeLists.txt +++ b/app/wlib/gtklib/CMakeLists.txt @@ -1,9 +1,13 @@ + FILE(GLOB HEADERS *.h) +INCLUDE (FindGTKUnixPrint.cmake) + SET(SOURCES gtkbitmap.c gtkbutton.c gtkcolor.c + gtkdraw-cairo.c filesel.c gtkfont.c gtkhelp.c @@ -16,22 +20,18 @@ SET(SOURCES gtktext.c gtkwindow.c gtkxpm.c - psprint.c + print.c wpref.c ) -IF(XTRKCAD_USE_GTK_CAIRO) - SET(SOURCES ${SOURCES} gtkdraw-cairo.c) -ELSE(XTRKCAD_USE_GTK_CAIRO) - SET(SOURCES ${SOURCES} gtkdraw.c) -ENDIF(XTRKCAD_USE_GTK_CAIRO) - SET_SOURCE_FILES_PROPERTIES(wpref.c PROPERTIES COMPILE_FLAGS -DEXPORT=) INCLUDE_DIRECTORIES(${XTrkCAD_BINARY_DIR}) INCLUDE_DIRECTORIES(${GTK_INCLUDE_DIRS}) +INCLUDE_DIRECTORIES(${GTK_UNIX_PRINT_INCLUDE_DIRS}) INCLUDE_DIRECTORIES(${GTK_WEBKIT_INCLUDE_DIRS}) ADD_LIBRARY(xtrkcad-wlib ${HEADERS} ${SOURCES}) TARGET_LINK_LIBRARIES(xtrkcad-wlib ${GTK_LIBRARIES}) +TARGET_LINK_LIBRARIES(xtrkcad-wlib ${GTK_UNIX_PRINT_LIBRARIES}) TARGET_LINK_LIBRARIES(xtrkcad-wlib ${GTK_WEBKIT_LIBRARIES}) |