summaryrefslogtreecommitdiff
path: root/gmathview/CMakeLists.txt
blob: 5501def8202a9c41e49cf66e97df39abfcfea647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include_directories (
    ${gMathLib_SOURCE_DIR}/include
    ${GLIB_INCLUDE_DIRS}
    ${GTK_INCLUDE_DIRS}
)

link_directories (
    ${GLIB_LINK_DIRS}
    ${GTK_LINK_DIRS}
)

add_library (gmathview SHARED gmathview.c gmathview_utils.c)
target_link_libraries (
    gmathview ${GLIB_LIBRARIES} ${GTK_LIBRARIES} gmathcairo
)

install (
    TARGETS gmathview
    LIBRARY DESTINATION lib
)