summaryrefslogtreecommitdiffstats
path: root/HDF5Examples/C/H5T
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-12-22 21:17:05 (GMT)
committerGitHub <noreply@github.com>2023-12-22 21:17:05 (GMT)
commit366f2d94a3f5ee20287de8062a2a2c895e9eb856 (patch)
tree723c29f3a08b73b1e69bd824c392960e4bab3bd9 /HDF5Examples/C/H5T
parent11e15aeed1b82201ea0805dcef5bfce3ac02b9cb (diff)
downloadhdf5-366f2d94a3f5ee20287de8062a2a2c895e9eb856.zip
hdf5-366f2d94a3f5ee20287de8062a2a2c895e9eb856.tar.gz
hdf5-366f2d94a3f5ee20287de8062a2a2c895e9eb856.tar.bz2
Add CMake api checks to test the new Examples folder. (#3907)
* Fix missing build-mode value * Use 110 version file only for the 1.10 library * Fix H5_LIBVER_DIR variable * Disable 1.6 API tests for now.
Diffstat (limited to 'HDF5Examples/C/H5T')
-rw-r--r--HDF5Examples/C/H5T/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/HDF5Examples/C/H5T/CMakeLists.txt b/HDF5Examples/C/H5T/CMakeLists.txt
index fb5a4e4..8c4084f 100644
--- a/HDF5Examples/C/H5T/CMakeLists.txt
+++ b/HDF5Examples/C/H5T/CMakeLists.txt
@@ -7,7 +7,7 @@ project (HDF5Examples_C_H5T C)
include (C_sourcefiles.cmake)
foreach (example_name ${common_examples})
- if (${H5_LIBVER_DIR} EQUAL 16)
+ if (${H5_LIBVER_DIR} EQUAL 16 OR ${EXAMPLE_VARNAME}_USE_16_API)
add_executable (${EXAMPLE_VARNAME}_${example_name} ${PROJECT_SOURCE_DIR}/16/${example_name}.c)
else ()
add_executable (${EXAMPLE_VARNAME}_${example_name} ${PROJECT_SOURCE_DIR}/${example_name}.c)