diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-03-01 01:06:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 01:06:50 (GMT) |
commit | 4e645aeedf621b341c6b6d5665fecdd08314bda9 (patch) | |
tree | 2c7dff097d74e6b1ea934a3196ed39cf1ec025e3 /config/cmake_ext_mod/HDFMacros.cmake | |
parent | 063a61c36b189bb9b8249f495043a32967eda9d7 (diff) | |
download | hdf5-4e645aeedf621b341c6b6d5665fecdd08314bda9.zip hdf5-4e645aeedf621b341c6b6d5665fecdd08314bda9.tar.gz hdf5-4e645aeedf621b341c6b6d5665fecdd08314bda9.tar.bz2 |
1.12 Add fetchcontent for compression libs and fix cmake config #2487 (#2493)
* Add fetchcontent for compression libs and fix cmake config #2487
* Add CI test for FetchContent
* Use LINK_COMP_LIBS instead of STATIC_LIBRARY for depends
Diffstat (limited to 'config/cmake_ext_mod/HDFMacros.cmake')
-rw-r--r-- | config/cmake_ext_mod/HDFMacros.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake index 863b7ba..7483f3c 100644 --- a/config/cmake_ext_mod/HDFMacros.cmake +++ b/config/cmake_ext_mod/HDFMacros.cmake @@ -479,8 +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) #----------------------------------------------------------------------------- # Setup pre-3.14 FetchContent #----------------------------------------------------------------------------- |