]> granicus.if.org Git - graphviz/commitdiff
cmake development
authorellson <devnull@localhost>
Sat, 8 Jul 2006 22:58:09 +0000 (22:58 +0000)
committerellson <devnull@localhost>
Sat, 8 Jul 2006 22:58:09 +0000 (22:58 +0000)
lib/gd/sources.cmake

index d57647524e9fdd90d607be6bd689a1d662971fea..bf28faaaeb5c2f91c4ca2a9bf5c32f220990caee 100644 (file)
@@ -1,9 +1,6 @@
 # $Id$ $Revision$
 
-SET(gd_SRCDIR ${CMAKE_SOURCE_DIR}/lib/gd)
-
 INCLUDE( UsePkgConfig )
-
 INCLUDE( FindJPEG )
 INCLUDE( FindPNG )
 INCLUDE( FindZLIB )
@@ -12,6 +9,7 @@ PKGCONFIG( freetype2 FREETYPE_INCLUDE_DIR FREETYPE_LIB_DIR FREETYPE_LINK_FLAGS F
 PKGCONFIG( fontconfig FONTCONFIG_INCLUDE_DIR FONTCONFIG_LIB_DIR FONTCONFIG_LINK_FLAGS FONTCONFIG_CFLAGS )
 
 INCLUDE_DIRECTORIES(
+       ${top_SRCDIR}
        ${gd_SRCDIR}
        ${FREETYPE_INCLUDE_DIR}
        ${FONTCONFIG_INCLUDE_DIR}