diff options
author | Ben Boeckel <mathstuf@users.noreply.github.com> | 2021-08-23 13:36:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 13:36:21 (GMT) |
commit | b5f5c59f297be19096051282068cdcc14275eb34 (patch) | |
tree | 2a2ec7045054aaec6650328f635e4c04cf80999e /tools | |
parent | b38bc071e956bec607b180a7d3f8217197393f02 (diff) | |
download | hdf5-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 'tools')
0 files changed, 0 insertions, 0 deletions