Merge topic 'test-try_compile-bindir'

4b47c4d0cd Tests: Use idiomatic try_compile calls in TryCompile test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6995