cvs: gd /libgd CMakeLists.txt
| From: | Pierre-Alain Joye | Date: | Mon, 26 Nov 2007 22:43:36 +0000 |
| Subject: | cvs: gd /libgd CMakeLists.txt | ||
| Groups: | php.gd.cvs | ||
| Request: | Send a blank email to php-gd-cvs+get-360@lists.php.net to get a copy of this message | ||
pajoye Mon Nov 26 22:43:36 2007 UTC
Modified files:
/gd/libgd CMakeLists.txt
Log:
- project name and cmake required version must be set before calling
cpack
http://cvs.php.net/viewvc.cgi/gd/libgd/CMakeLists.txt?r1=1.7&r2=1.8&diff_format=u
Index: gd/libgd/CMakeLists.txt
diff -u gd/libgd/CMakeLists.txt:1.7 gd/libgd/CMakeLists.txt:1.8
--- gd/libgd/CMakeLists.txt:1.7 Mon Nov 26 22:33:24 2007
+++ gd/libgd/CMakeLists.txt Mon Nov 26 22:43:36 2007
@@ -1,4 +1,6 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4.3 FATAL_ERROR)
+PROJECT(GD)
SET(CPACK_PACKAGE_NAME "libgd")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "libGD, powerful and easy to use graphic library")
SET(CPACK_PACKAGE_VENDOR "http://www.libgd.org")
@@ -19,10 +21,6 @@
"^${PROJECT_SOURCE_DIR}/bld/"
)
INCLUDE(CPack)
-
-CMAKE_MINIMUM_REQUIRED(VERSION 2.4.3 FATAL_ERROR)
-PROJECT(GD)
-
SET(CMAKE_MODULE_PATH "${GD_SOURCE_DIR}/cmake/modules")
if (BUILD_TEST)