diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2017-08-03 02:08:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-03 02:08:49 (GMT) |
commit | fa388e9f94e21b96a315ed4298e75a2dd2fb6136 (patch) | |
tree | 4d4b24bc5feb953d1ad61244a58151094da987ff /CMakeLists.txt | |
parent | d655d0989db0fc66f4004bd9f6d78da4bdc045e9 (diff) | |
parent | b68f1e769c7a846b10c9ba2f604fc4d0532ecc95 (diff) | |
download | googletest-fa388e9f94e21b96a315ed4298e75a2dd2fb6136.zip googletest-fa388e9f94e21b96a315ed4298e75a2dd2fb6136.tar.gz googletest-fa388e9f94e21b96a315ed4298e75a2dd2fb6136.tar.bz2 |
Merge pull request #1170 from Manozco/1169_fix_old_cmake_issue
Fix policy issue with old cmakes
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fceb39..f7fb65e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,9 @@ cmake_minimum_required(VERSION 2.6.4) -cmake_policy(SET CMP0048 NEW) +if (policy CMP0048) + cmake_policy(SET CMP0048 NEW) +endif (policy CMP0048) + project( googletest-distribution ) enable_testing() |