mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
Skip examples if running sanitizers (#4592)
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user