summaryrefslogtreecommitdiffstats
path: root/src/H5Fquery.c
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@users.noreply.github.com>2021-08-23 13:36:21 (GMT)
committerGitHub <noreply@github.com>2021-08-23 13:36:21 (GMT)
commitb5f5c59f297be19096051282068cdcc14275eb34 (patch)
tree2a2ec7045054aaec6650328f635e4c04cf80999e /src/H5Fquery.c
parentb38bc071e956bec607b180a7d3f8217197393f02 (diff)
downloadhdf5-b5f5c59f297be19096051282068cdcc14275eb34.zip
hdf5-b5f5c59f297be19096051282068cdcc14275eb34.tar.gz
hdf5-b5f5c59f297be19096051282068cdcc14275eb34.tar.bz2
cmake: simplify try_run result comparisons (#950)
Instead of looking at `MATCHES 0` which runs a regex and returns a false positive for any result such as `10`, check if they are equal to `0`. Also quote `0` to avoid looking it up as a variable (which was left behind prior to the fix to use `${RETURN_VAR}` in the `c_run` macro).
Diffstat (limited to 'src/H5Fquery.c')
0 files changed, 0 insertions, 0 deletions