summaryrefslogtreecommitdiff
path: root/gmathview/CMakeLists.txt
blob: 7c6d1b82e5a15ccb511b34d578c61f9b26123494 (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)
target_link_libraries (
    gmathview ${GLIB_LIBRARIES} ${GTK_LIBRARIES} gmathcairo
)

install (
    TARGETS gmathview
    LIBRARY DESTINATION lib
)