[svn-r19852] Add back dropped during edit - create directory - for external projects in cpack.

This commit is contained in:
Allen Byrne 2010-11-26 12:27:53 -05:00
parent 5263086fe1
commit 51fd60955b

View File

@ -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}/