summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-05-17 19:01:38 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-05-17 19:01:38 (GMT)
commita320d5c19ef811ed9cc117a46606915c5f2d83cf (patch)
treeae85b3c7ae317413681d385f5a8564a31e5ed29b /CMakeLists.txt
parent8cd51f64a54551bc99bad14593a6a00e31a7e3ac (diff)
downloadhdf5-a320d5c19ef811ed9cc117a46606915c5f2d83cf.zip
hdf5-a320d5c19ef811ed9cc117a46606915c5f2d83cf.tar.gz
hdf5-a320d5c19ef811ed9cc117a46606915c5f2d83cf.tar.bz2
[svn-r20850] Correct Position of CPack include
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5f63386..d1279a1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -947,8 +947,6 @@ IF (NOT HDF5_EXTERNALLY_CONFIGURED)
SET (CPACK_INSTALL_CMAKE_PROJECTS "${HDF5_BINARY_DIR};HDF5;ALL;/")
- INCLUDE (CPack)
-
IF (HDF5_PACKAGE_EXTLIBS)
IF (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "SVN" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
IF (ZLIB_FOUND AND ZLIB_USE_EXTERNAL)
@@ -961,6 +959,8 @@ IF (NOT HDF5_EXTERNALLY_CONFIGURED)
ENDIF (SZIP_FOUND AND SZIP_USE_EXTERNAL)
ENDIF (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "SVN" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
ENDIF (HDF5_PACKAGE_EXTLIBS)
+
+ INCLUDE (CPack)
#---------------------------------------------------------------------------
# Now list the cpack commands