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 )