summaryrefslogtreecommitdiffstats
path: root/CMakeInstallation.cmake
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-04-28 21:32:34 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-04-28 21:32:34 (GMT)
commit28c0d72b7e98f034c8375124f2fbf6b2f878f69b (patch)
treece7e12956296f91ac09377e1c4c6f5b623a3af39 /CMakeInstallation.cmake
parent6fc61b04e86dfdce20392dca14fe6210cbc9df92 (diff)
downloadhdf5-28c0d72b7e98f034c8375124f2fbf6b2f878f69b.zip
hdf5-28c0d72b7e98f034c8375124f2fbf6b2f878f69b.tar.gz
hdf5-28c0d72b7e98f034c8375124f2fbf6b2f878f69b.tar.bz2
[svn-r26954] Remove src temporary debug build props.
Move TOOLS option up before usage.
Diffstat (limited to 'CMakeInstallation.cmake')
-rw-r--r--CMakeInstallation.cmake40
1 files changed, 22 insertions, 18 deletions
diff --git a/CMakeInstallation.cmake b/CMakeInstallation.cmake
index 2605ede..354c65d 100644
--- a/CMakeInstallation.cmake
+++ b/CMakeInstallation.cmake
@@ -578,24 +578,28 @@ The HDF5 data model, file format, API, library, and tools are open and distribut
GROUP Applications
INSTALL_TYPES Full Developer User
)
- CPACK_ADD_COMPONENT (hlcpplibraries
- DISPLAY_NAME "HDF5 HL C++ Libraries"
- DEPENDS hllibraries
- GROUP Runtime
- INSTALL_TYPES Full Developer User
- )
- CPACK_ADD_COMPONENT (hlcppheaders
- DISPLAY_NAME "HDF5 HL C++ Headers"
- DEPENDS hlcpplibraries
- GROUP Development
- INSTALL_TYPES Full Developer
- )
- CPACK_ADD_COMPONENT (hlfortlibraries
- DISPLAY_NAME "HDF5 HL Fortran Libraries"
- DEPENDS fortlibraries
- GROUP Runtime
- INSTALL_TYPES Full Developer User
- )
+ if (HDF5_BUILD_CPP_LIB)
+ CPACK_ADD_COMPONENT (hlcpplibraries
+ DISPLAY_NAME "HDF5 HL C++ Libraries"
+ DEPENDS hllibraries
+ GROUP Runtime
+ INSTALL_TYPES Full Developer User
+ )
+ CPACK_ADD_COMPONENT (hlcppheaders
+ DISPLAY_NAME "HDF5 HL C++ Headers"
+ DEPENDS hlcpplibraries
+ GROUP Development
+ INSTALL_TYPES Full Developer
+ )
+ endif (HDF5_BUILD_CPP_LIB)
+ if (HDF5_BUILD_FORTRAN)
+ CPACK_ADD_COMPONENT (hlfortlibraries
+ DISPLAY_NAME "HDF5 HL Fortran Libraries"
+ DEPENDS fortlibraries
+ GROUP Runtime
+ INSTALL_TYPES Full Developer User
+ )
+ endif (HDF5_BUILD_FORTRAN)
endif (HDF5_BUILD_HL_LIB)
endif (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)