diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-02-26 23:06:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 23:06:14 (GMT) |
commit | d7128d144b3b44fb7d190d27a61e6fc6c24e10be (patch) | |
tree | 4b897947da454745372524a64c3522f04098cf0c /config/cmake/HDFMacros.cmake | |
parent | 49fdba1091e36df98dd0b2bef2a6246c7372a01b (diff) | |
download | hdf5-d7128d144b3b44fb7d190d27a61e6fc6c24e10be.zip hdf5-d7128d144b3b44fb7d190d27a61e6fc6c24e10be.tar.gz hdf5-d7128d144b3b44fb7d190d27a61e6fc6c24e10be.tar.bz2 |
Add fetchcontent for compression libs and fix cmake config (#2487)
* Add fetchcontent for compression libs and fix cmake config
* MSDOS is a reserved define name
* Add release note and update install doc for FetchContent
* Add CI test for FetchContent
* Use LINK_COMP_LIBS instead of STATIC_LIBRARY for depends
* Use general link
Diffstat (limited to 'config/cmake/HDFMacros.cmake')
-rw-r--r-- | config/cmake/HDFMacros.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/cmake/HDFMacros.cmake b/config/cmake/HDFMacros.cmake index 1af513b..fc04d17 100644 --- a/config/cmake/HDFMacros.cmake +++ b/config/cmake/HDFMacros.cmake @@ -479,7 +479,10 @@ macro (HDF_DIR_PATHS package_prefix) CACHE PATH "Install path prefix, prepended onto install directories." FORCE) set (CMAKE_GENERIC_PROGRAM_FILES) endif () + set (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT 0 CACHE PATH "" FORCE) endif () + + include (FetchContent) endmacro () macro (ADD_H5_FLAGS h5_flag_var infile) |