https://github.com/Kitware/CMake
Revision 7ddc2a110c0e52ce6e2e360a69aadf9291edbb11 authored by Craig Scott on 25 July 2018, 11:06:30 UTC, committed by Craig Scott on 25 July 2018, 11:30:51 UTC
If policy settings at the time the GoogleTest module is included are such that CMP0057 is unset or set to OLD, the use of IN_LIST with if() will lead to an error. Therefore, explicitly specify the policy settings for the whole file to ensure the function implementations have access to the required CMake features. Fixes: #18198
1 parent b5061e0
Tip revision: 7ddc2a110c0e52ce6e2e360a69aadf9291edbb11 authored by Craig Scott on 25 July 2018, 11:06:30 UTC
GoogleTest: Ensure policy settings allow use of IN_LIST
GoogleTest: Ensure policy settings allow use of IN_LIST
Tip revision: 7ddc2a1
File | Mode | Size |
---|---|---|
Doxygen | ||
Git | ||
GitSetup | ||
IWYU | ||
KWIML | ||
Release | ||
Scripts | ||
Sphinx | ||
cmbzip2 | ||
cmcompress | ||
cmcurl | ||
cmexpat | ||
cmjsoncpp | ||
cmlibarchive | ||
cmliblzma | ||
cmlibrhash | ||
cmlibuv | ||
cmvssetup | ||
cmzlib | ||
.NoDartCoverage | -rw-r--r-- | 39 bytes |
.clang-tidy | -rw-r--r-- | 208 bytes |
.gitattributes | -rw-r--r-- | 234 bytes |
CMakeLists.txt | -rw-r--r-- | 1.1 KB |
SetupForDevelopment.sh | -rwxr-xr-x | 416 bytes |
cmThirdParty.h.in | -rw-r--r-- | 695 bytes |
cm_bzlib.h | -rw-r--r-- | 365 bytes |
cm_curl.h | -rw-r--r-- | 376 bytes |
cm_expat.h | -rw-r--r-- | 369 bytes |
cm_jsoncpp_reader.h | -rw-r--r-- | 409 bytes |
cm_jsoncpp_value.h | -rw-r--r-- | 405 bytes |
cm_jsoncpp_writer.h | -rw-r--r-- | 409 bytes |
cm_kwiml.h | -rw-r--r-- | 443 bytes |
cm_libarchive.h | -rw-r--r-- | 479 bytes |
cm_lzma.h | -rw-r--r-- | 371 bytes |
cm_rhash.h | -rw-r--r-- | 383 bytes |
cm_uv.h | -rw-r--r-- | 361 bytes |
cm_xmlrpc.h | -rw-r--r-- | 357 bytes |
cm_zlib.h | -rw-r--r-- | 358 bytes |
Computing file changes ...