diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:13:26 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2021-10-08 09:13:26 +0900 |
commit | e7ff50712c4a21dd73051147cb71225f63e05bcf (patch) | |
tree | eaabc8bd601d045807d8548b1a22980fae568f59 /Modules/GoogleTest.cmake | |
parent | e42c4abb646a39cdd5d1ccb22a9619990ce2a898 (diff) | |
download | cmake-e7ff50712c4a21dd73051147cb71225f63e05bcf.tar.gz cmake-e7ff50712c4a21dd73051147cb71225f63e05bcf.tar.bz2 cmake-e7ff50712c4a21dd73051147cb71225f63e05bcf.zip |
Imported Upstream version 3.12.1upstream/3.12.1
Diffstat (limited to 'Modules/GoogleTest.cmake')
-rw-r--r-- | Modules/GoogleTest.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/GoogleTest.cmake b/Modules/GoogleTest.cmake index bfb83e1b4..2c9ee1180 100644 --- a/Modules/GoogleTest.cmake +++ b/Modules/GoogleTest.cmake @@ -238,6 +238,10 @@ same as the Google Test name (i.e. ``suite.testcase``); see also #]=======================================================================] +# Save project's policies +cmake_policy(PUSH) +cmake_policy(SET CMP0057 NEW) # if IN_LIST + #------------------------------------------------------------------------------ function(gtest_add_tests) @@ -454,3 +458,6 @@ endfunction() set(_GOOGLETEST_DISCOVER_TESTS_SCRIPT ${CMAKE_CURRENT_LIST_DIR}/GoogleTestAddTests.cmake ) + +# Restore project's policies +cmake_policy(POP) |