Skip to content

Commit

Permalink
disable extra hdf5 tools and hl builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ahnaf-tahmid-chowdhury committed May 19, 2024
1 parent 948378f commit d53745c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ else()
-DCMAKE_INSTALL_PREFIX:PATH=<INSTALL_DIR>
-DBUILD_SHARED_LIBS:BOOL=ON
-DBUILD_STATIC_LIBS:BOOL=OFF
-DBUILD_TESTING:BOOL=OFF
-DHDF5_BUILD_TOOLS:BOOL=OFF
-DHDF5_BUILD_HL_LIB:BOOL=OFF
-DHDF5_BUILD_CPP_LIB:BOOL=OFF
-DHDF5_BUILD_FORTRAN:BOOL=OFF
-HDF5_BUILD_EXAMPLES:BOOL=OFF
DOWNLOAD_EXTRACT_TIMESTAMP true
BUILD_BYPRODUCTS "${HDF5_ROOT}/lib/libhdf5${CMAKE_SHARED_LIBRARY_SUFFIX}"
)
Expand All @@ -116,7 +122,7 @@ else()
# HDF5 is a shared library, so we need to install it
install(DIRECTORY ${HDF5_LIBRARY_DIRS}
DESTINATION .
FILES_MATCHING PATTERN "*hdf5${CMAKE_SHARED_LIBRARY_SUFFIX}*"
FILES_MATCHING PATTERN "*${CMAKE_SHARED_LIBRARY_SUFFIX}*"
)
endif()

Expand Down

0 comments on commit d53745c

Please sign in to comment.