summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
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()