summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2010-11-26 17:27:53 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2010-11-26 17:27:53 (GMT)
commit51fd60955b890ab8bc35d6688ddf8f56e98bdcef (patch)
tree7a5b0fcfe6d746faa4d153571b9b3596ae5e4504
parent5263086fe15b07cf460e6c5b525ca46eb7f81002 (diff)
downloadhdf5-51fd60955b890ab8bc35d6688ddf8f56e98bdcef.zip
hdf5-51fd60955b890ab8bc35d6688ddf8f56e98bdcef.tar.gz
hdf5-51fd60955b890ab8bc35d6688ddf8f56e98bdcef.tar.bz2
[svn-r19852] Add back dropped during edit - create directory - for external projects in cpack.
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 31f05b5..0b80ee7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -621,6 +621,8 @@ IF (HDF5_PACKAGE_EXTLIBS)
SET (EXTERNAL_HEADER_LIST "")
SET (EXTERNAL_LIBRARY_LIST "")
SET (EXTERNAL_LIBRARYDLL_LIST "")
+ FILE (MAKE_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${BLDTYPE})
+
IF (HDF5_ENABLE_Z_LIB_SUPPORT AND ZLIB_FOUND)
ADD_CUSTOM_TARGET (ZLIB-GenHeader-Copy ALL
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${ZLIB_INCLUDE_DIR_GEN}/zconf.h ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/