diff options
author | Robert Adam <dev@robert-adam.de> | 2022-06-28 08:47:00 (GMT) |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2022-07-18 05:36:40 (GMT) |
commit | 2d1cd6ee277ea3de5803115568341da48e90676a (patch) | |
tree | ffd5c2e4a05e53431ff3acff6b0909ebc3f6c9d9 /CMakeLists.txt | |
parent | 9406a60c7839052e4944ea4dbc8344762a89f9bd (diff) | |
download | googletest-2d1cd6ee277ea3de5803115568341da48e90676a.zip googletest-2d1cd6ee277ea3de5803115568341da48e90676a.tar.gz googletest-2d1cd6ee277ea3de5803115568341da48e90676a.tar.bz2 |
Set cmake policy CMP0069refs/pull/3921/head
This ensures that LTO works as expected whenever the main project
has it enabled.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4daf35b..3cf5c27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,10 @@ if (POLICY CMP0077) cmake_policy(SET CMP0077 NEW) endif (POLICY CMP0077) +if (POLICY CMP0069) + cmake_policy(SET CMP0069 NEW) +endif (POLICY CMP0069) + project(googletest-distribution) set(GOOGLETEST_VERSION 1.11.0) |