Skip to content

Commit

Permalink
Skip examples if running sanitizers (#4592)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored Jun 20, 2024
1 parent 162f012 commit 7d68732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ configure_file (${HDF_RESOURCES_DIR}/H5pubconf.h.in ${HDF5_SRC_BINARY_DIR}/H5pub
#-----------------------------------------------------------------------------
if (EXISTS "${HDF5_SOURCE_DIR}/HDF5Examples" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/HDF5Examples")
option (HDF5_BUILD_EXAMPLES "Build HDF5 Library Examples" ON)
if (HDF5_BUILD_EXAMPLES)
if (HDF5_BUILD_EXAMPLES AND NOT USE_SANITIZER)
include (${HDF_RESOURCES_DIR}/HDF5ExampleCache.cmake)
set (HDF5_VERSION ${HDF5_PACKAGE_VERSION})
add_subdirectory (HDF5Examples)
Expand Down

0 comments on commit 7d68732

Please sign in to comment.