From 0bdfb968d040c2c28e26c58dcae94c2f7b9ab5e3 Mon Sep 17 00:00:00 2001 From: ellson Date: Sat, 8 Jul 2006 23:36:09 +0000 Subject: [PATCH] cmake stuff --- plugin/pango/CMakeLists.txt | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/plugin/pango/CMakeLists.txt b/plugin/pango/CMakeLists.txt index 1664ddc58..12f25b9e0 100644 --- a/plugin/pango/CMakeLists.txt +++ b/plugin/pango/CMakeLists.txt @@ -1,32 +1,8 @@ # $Id$ $Revision$ -## Process this file with cmake to produce Makefile -INCLUDE( UsePkgConfig ) +INCLUDE(${CMAKE_SOURCE_DIR}/cmake/directories.cmake) +INCLUDE(${gvplugin_pango_SRCDIR}/sources.cmake) -PKGCONFIG( pangocairo PANGOCAIRO_INCLUDE_DIR PANGOCAIRO_LIB_DIR PANGOCAIRO_LINK_FLAGS PANGOCAIRO_CFLAGS ) - -INCLUDE_DIRECTORIES( - ${CMAKE_CURRENT_SOURCE_DIR} - ${CMAKE_SOURCE_DIR} - ${CMAKE_SOURCE_DIR}/lib/common - ${CMAKE_SOURCE_DIR}/lib/cdt - ${CMAKE_SOURCE_DIR}/lib/graph - ${CMAKE_SOURCE_DIR}/lib/pathplan - ${CMAKE_SOURCE_DIR}/lib/gvc - ${PANGOCAIRO_INCLUDE_DIR} -) - -########### next target ############### - -ADD_DEFINITIONS(${PANGOCAIRO_CFLAGS}) -SET(gvplugin_pango_SRCS - gvplugin_pango.c - gvrender_pango.c - gvtextlayout_pango.c - gvloadimage_pango.c -) ADD_LIBRARY(gvplugin_pango MODULE ${gvplugin_pango_SRCS}) ADD_LIBRARY(gvplugin_pango_static STATIC ${gvplugin_pango_SRCS}) - -########### install files ############### -- 2.40.0