diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2017-01-31 21:50:21 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2017-01-31 21:50:21 (GMT) |
commit | e4b568fffc8d940f839664058d515208c0497cdc (patch) | |
tree | 595b738f8aec81aa7707be157098b42f01c505f9 /tools/src/h5repack/CMakeLists.txt | |
parent | f1410b6c642f81b0163481e1f3e8c648e01e8d80 (diff) | |
download | hdf5-e4b568fffc8d940f839664058d515208c0497cdc.zip hdf5-e4b568fffc8d940f839664058d515208c0497cdc.tar.gz hdf5-e4b568fffc8d940f839664058d515208c0497cdc.tar.bz2 |
HDFFV-10046 add shared versions of tools for plugin filters
Diffstat (limited to 'tools/src/h5repack/CMakeLists.txt')
-rw-r--r-- | tools/src/h5repack/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/src/h5repack/CMakeLists.txt b/tools/src/h5repack/CMakeLists.txt index 243df6c..2d5c0d8 100644 --- a/tools/src/h5repack/CMakeLists.txt +++ b/tools/src/h5repack/CMakeLists.txt @@ -31,7 +31,7 @@ set (H5_DEP_EXECUTABLES h5repack) if (BUILD_SHARED_LIBS) add_executable (h5repack-shared ${REPACK_COMMON_SOURCES} ${HDF5_TOOLS_SRC_H5REPACK_SOURCE_DIR}/h5repack_main.c) - TARGET_NAMING (h5repack-shared SHARED "dyn") + TARGET_NAMING (h5repack-shared SHARED) TARGET_C_PROPERTIES (h5repack-shared SHARED " " " ") target_link_libraries (h5repack-shared ${HDF5_TOOLS_LIBSH_TARGET} ${HDF5_LIBSH_TARGET}) set_target_properties (h5repack-shared PROPERTIES FOLDER tools) @@ -50,7 +50,9 @@ endif () # Rules for Installation of tools using make Install target #----------------------------------------------------------------------------- -INSTALL_PROGRAM_PDB (h5repack-shared ${HDF5_INSTALL_BIN_DIR} toolsapplications) +if (BUILD_SHARED_LIBS) + INSTALL_PROGRAM_PDB (h5repack-shared ${HDF5_INSTALL_BIN_DIR} toolsapplications) +endif () install ( TARGETS |