Describe the bug
Building on Cygwin hdf5-2.0.0 the *.cmake files are installed in a not standard cmake directory
/usr/cmake/hdf5-config-version.cmake
/usr/cmake/hdf5-config.cmake
/usr/cmake/hdf5-targets-relwithdebinfo.cmake
/usr/cmake/hdf5-targets.cmake
Expected behavior
All other packages are installed in subdirectory under /usr/lib/cmake, so it should be
/usr/lib/cmake/hdf5/hdf5-config-version.cmake
/usr/lib/cmake/hdf5/hdf5-config.cmake
/usr/lib/cmake/hdf5/hdf5-targets-relwithdebinfo.cmake
/usr/lib/cmake/hdf5/hdf5-targets.cmake
Platform (please complete the following information)
-
HDF5 version: hdf5-2.0.0
-
OS and version : CYGWIN_NT-10.0-26200 3.6.5-1.x86_64 Cygwin
-
Compiler and version : gcc (GCC) 13.4.0
-
Build system (e.g. CMake version) : cmake version 4.2.1
-
Any configure options you specified
-DHDF5_BUILD_CPP_LIB=ON
-DHDF5_ENABLE_ZLIB_SUPPORT=ON
-DHDF5_ENABLE_SZIP_SUPPORT=ON
-Dlibaec_LIBRARY=/usr/lib/libaec.dll.a
-
MPI library and version (parallel HDF5) : None
Additional context
First cmake build for HDF5, before using Autotools
https://cygwin.com/packages/summary/hdf5-src.html
Describe the bug
Building on Cygwin hdf5-2.0.0 the *.cmake files are installed in a not standard cmake directory
/usr/cmake/hdf5-config-version.cmake
/usr/cmake/hdf5-config.cmake
/usr/cmake/hdf5-targets-relwithdebinfo.cmake
/usr/cmake/hdf5-targets.cmake
Expected behavior
All other packages are installed in subdirectory under /usr/lib/cmake, so it should be
/usr/lib/cmake/hdf5/hdf5-config-version.cmake
/usr/lib/cmake/hdf5/hdf5-config.cmake
/usr/lib/cmake/hdf5/hdf5-targets-relwithdebinfo.cmake
/usr/lib/cmake/hdf5/hdf5-targets.cmake
Platform (please complete the following information)
HDF5 version: hdf5-2.0.0
OS and version : CYGWIN_NT-10.0-26200 3.6.5-1.x86_64 Cygwin
Compiler and version : gcc (GCC) 13.4.0
Build system (e.g. CMake version) : cmake version 4.2.1
Any configure options you specified
-DHDF5_BUILD_CPP_LIB=ON
-DHDF5_ENABLE_ZLIB_SUPPORT=ON
-DHDF5_ENABLE_SZIP_SUPPORT=ON
-Dlibaec_LIBRARY=/usr/lib/libaec.dll.a
MPI library and version (parallel HDF5) : None
Additional context
First cmake build for HDF5, before using Autotools
https://cygwin.com/packages/summary/hdf5-src.html