cvs: gd /libgd CMakeLists.txt
[email protected] ("Pierre-Alain Joye") Wed, 27 Feb 2008 13:27:49 -0000
| Newsgroups | php.gd.cvs |
|---|---|
| Message-ID | <cvspajoye1204118869@cvsserver> |
pajoye Wed Feb 27 13:27:49 2008 UTC
Modified files:
/gd/libgd CMakeLists.txt
Log:
- enable all features by default, can be disabled one by one
http://cvs.php.net/viewvc.cgi/gd/libgd/CMakeLists.txt?r1=1.16&r2=1.17&diff_format=u
Index: gd/libgd/CMakeLists.txt
diff -u gd/libgd/CMakeLists.txt:1.16 gd/libgd/CMakeLists.txt:1.17
--- gd/libgd/CMakeLists.txt:1.16 Sat Feb 9 02:18:31 2008
+++ gd/libgd/CMakeLists.txt Wed Feb 27 13:27:49 2008
@@ -1,4 +1,4 @@
-# $Id: CMakeLists.txt,v 1.16 2008/02/09 02:18:31 pajoye Exp $
+# $Id: CMakeLists.txt,v 1.17 2008/02/27 13:27:49 pajoye Exp $
SET(PACKAGE GD)
SET(PACKAGE_NAME GD)
@@ -30,6 +30,14 @@
INCLUDE(CPack)
SET(CMAKE_MODULE_PATH "${GD_SOURCE_DIR}/cmake/modules")
+OPTION(ENABLE_PNG "Enable PNG support" 1)
+OPTION(ENABLE_JPEG "Enable JPEG support" 1)
+OPTION(ENABLE_TIFF "Enable TIFF support" 1)
+OPTION(ENABLE_XPM "Enable XPM support" 1)
+OPTION(ENABLE_FREETYPE "Enable Freetype2 support" 1)
+OPTION(ENABLE_WBMP "Enable WBMP support" 1)
+OPTION(ENABLE_FONTCONFIG "Enable FontConfig support" 1)
+
if (BUILD_TEST)
ENABLE_TESTING()
endif(BUILD_TEST)