cvs: gd /libgd CMakeLists.txt /libgd/src config.h.cmake
| From: | Pierre-Alain Joye | Date: | Fri, 05 Oct 2007 05:35:58 +0000 |
| Subject: | cvs: gd /libgd CMakeLists.txt /libgd/src config.h.cmake | ||
| Groups: | php.gd.cvs | ||
| Request: | Send a blank email to php-gd-cvs+get-296@lists.php.net to get a copy of this message | ||
pajoye Fri Oct 5 05:35:58 2007 UTC
Modified files:
/gd/libgd CMakeLists.txt
/gd/libgd/src config.h.cmake
Log:
- fix build
- add HAVE_LIBTIFF config
http://cvs.php.net/viewvc.cgi/gd/libgd/CMakeLists.txt?r1=1.4&r2=1.5&diff_format=u
Index: gd/libgd/CMakeLists.txt
diff -u gd/libgd/CMakeLists.txt:1.4 gd/libgd/CMakeLists.txt:1.5
--- gd/libgd/CMakeLists.txt:1.4 Thu Oct 4 18:53:57 2007
+++ gd/libgd/CMakeLists.txt Fri Oct 5 05:35:58 2007
@@ -88,7 +88,7 @@
IF(TIFF_FOUND)
INCLUDE_DIRECTORIES(${TIFF_INCLUDE_DIR})
SET(HAVE_LIBTIFF 1)
- ENDIF(JPEG_FOUND)
+ ENDIF(TIFF_FOUND)
IF(FONTCONFIG_FOUND)
INCLUDE_DIRECTORIES(${FONTCONFIG_INCLUDE_DIR})
@@ -115,4 +115,5 @@
add_subdirectory(src)
endif (USE_EXT_GD)
add_subdirectory(tests)
+add_subdirectory(examples)
http://cvs.php.net/viewvc.cgi/gd/libgd/src/config.h.cmake?r1=1.1&r2=1.2&diff_format=u
Index: gd/libgd/src/config.h.cmake
diff -u gd/libgd/src/config.h.cmake:1.1 gd/libgd/src/config.h.cmake:1.2
--- gd/libgd/src/config.h.cmake:1.1 Wed Jan 24 22:32:32 2007
+++ gd/libgd/src/config.h.cmake Fri Oct 5 05:35:58 2007
@@ -30,6 +30,9 @@
/* Define if you have the jpeg library. */
#cmakedefine HAVE_LIBJPEG
+/* Define if you have the jpeg library. */
+#cmakedefine HAVE_LIBTIFF
+
/* Define to 1 if you have the `m' library (-lm). */
#cmakedefine HAVE_LIBM