summaryrefslogtreecommitdiffstats
path: root/gtk2/CMakeLists.txt
blob: 9210e8cf3ccb4c27b733a1eacab1107c72e99df0 (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

include_directories(
    ${CMAKE_SOURCE_DIR}
    ${CMAKE_SOURCE_DIR}/common
    ${CMAKE_CURRENT_BINARY_DIR}
    ${CMAKE_BINARY_DIR}
    ${GTK_INCLUDE_DIRS}
)


##### kgtk2 (shared)

tde_add_library( kgtk2 SHARED NO_LIBTOOL_FILE
  SOURCES
    kgtk2.c

  LINK
    ${GTK_LIBRARIES}
    ${GTHREAD_LIBRARIES}
    ${CMAKE_DL_LIBS}

  DESTINATION ${LIB_INSTALL_DIR}/kgtk
)


##### other data

configure_file( kgtk2-wrapper.cmake kgtk2-wrapper @ONLY )

install(
  PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/kgtk2-wrapper
  DESTINATION ${BIN_INSTALL_DIR}
)