diff options
author | William Reid Paape <wrpaape@gmail.com> | 2020-06-29 10:04:26 (GMT) |
---|---|---|
committer | William Reid Paape <wrpaape@gmail.com> | 2020-06-30 23:31:19 (GMT) |
commit | a064b18f85f0b21b44c508f56e5fa7a1912f978c (patch) | |
tree | 17ab292467dbe3602b70c3263ecd4fad7a02af37 /Help/guide/tutorial/Step11 | |
parent | 45542049563f0ee8358ead563a4e4cc7d7270110 (diff) | |
download | CMake-a064b18f85f0b21b44c508f56e5fa7a1912f978c.zip CMake-a064b18f85f0b21b44c508f56e5fa7a1912f978c.tar.gz CMake-a064b18f85f0b21b44c508f56e5fa7a1912f978c.tar.bz2 |
FindGTest: Allow either "Debug" or "Release" configurations.
Call select_library_configurations on GTest library variable basenames "GTEST"
and "GTEST_MAIN" before passing ${basename}_LIBRARY variables to
find_package_handle_standard_args. This allows either _DEBUG or _RELEASE
library variants to be found for find_package() to pass, whereas the original
version would require the presence of _RELEASE variants.
Fixes: #17799
Diffstat (limited to 'Help/guide/tutorial/Step11')
0 files changed, 0 insertions, 0 deletions