diff options
author | Larry Knox <lrknox@hdfgroup.org> | 2021-08-24 13:22:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 13:22:24 (GMT) |
commit | 9424fa2d5e9cab7e187f9e1efe0bc7ba50f691ca (patch) | |
tree | 9a8941bf34a64be750a6c6a1bcd0349711a6dfbe /testpar/t_shapesame.c | |
parent | b80d6336ba456591c0b09cc342bee51f41d8d9aa (diff) | |
download | hdf5-9424fa2d5e9cab7e187f9e1efe0bc7ba50f691ca.zip hdf5-9424fa2d5e9cab7e187f9e1efe0bc7ba50f691ca.tar.gz hdf5-9424fa2d5e9cab7e187f9e1efe0bc7ba50f691ca.tar.bz2 |
cmake: simplify try_run result comparisons (#950) (#952)
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).
Co-authored-by: Ben Boeckel <mathstuf@users.noreply.github.com>
Diffstat (limited to 'testpar/t_shapesame.c')
0 files changed, 0 insertions, 0 deletions