summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2014-03-18 16:55:05 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2014-03-18 16:55:05 (GMT)
commit44fe3cc19b4e40672f1d7ab4fcd9cd58ded234e8 (patch)
tree5ae58a9a9d5bb892bf6a80a11facb18b47a67dc6 /hl
parent03d10edd23ce76e9389b54be138ef1bbb8791cef (diff)
downloadhdf5-44fe3cc19b4e40672f1d7ab4fcd9cd58ded234e8.zip
hdf5-44fe3cc19b4e40672f1d7ab4fcd9cd58ded234e8.tar.gz
hdf5-44fe3cc19b4e40672f1d7ab4fcd9cd58ded234e8.tar.bz2
[svn-r24826] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case. Bump up CMake minimum versions. Split test file into separate file for h5repack test. Tested: local linux
Diffstat (limited to 'hl')
-rw-r--r--hl/fortran/src/CMakeLists.txt7
-rw-r--r--hl/src/CMakeLists.txt5
2 files changed, 7 insertions, 5 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index 6377211..f0b5d3d 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -96,9 +96,10 @@ endif (WIN32 AND NOT CYGWIN)
# Add Target(s) to CMake Install for import into other projects
#-----------------------------------------------------------------------------
if (HDF5_EXPORTED_TARGETS)
-
- INSTALL_TARGET_PDB (${HDF5_HL_F90_C_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hlfortlibraries)
- #INSTALL_TARGET_PDB (${HDF5_HL_F90_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hlfortlibraries)
+ if (BUILD_SHARED_LIBS)
+ INSTALL_TARGET_PDB (${HDF5_HL_F90_C_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hlfortlibraries)
+ #INSTALL_TARGET_PDB (${HDF5_HL_F90_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hlfortlibraries)
+ endif (BUILD_SHARED_LIBS)
install (
TARGETS
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index e93a23a..e3a72e4 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -59,8 +59,9 @@ install (
# Add Target(s) to CMake Install for import into other projects
#-----------------------------------------------------------------------------
if (HDF5_EXPORTED_TARGETS)
-
- INSTALL_TARGET_PDB (${HDF5_HL_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hllibraries)
+ if (BUILD_SHARED_LIBS)
+ INSTALL_TARGET_PDB (${HDF5_HL_LIB_TARGET} ${HDF5_INSTALL_LIB_DIR} hllibraries)
+ endif (BUILD_SHARED_LIBS)
install (
TARGETS