From 568958e94000946a035a034a6d99c7a90fc8984f Mon Sep 17 00:00:00 2001 From: Joel Laity Date: Thu, 3 Aug 2017 15:50:45 +1200 Subject: Fixed cmake policy issue --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index f7fb65e1..30486302 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ cmake_minimum_required(VERSION 2.6.4) -if (policy CMP0048) +if (POLICY CMP0048) cmake_policy(SET CMP0048 NEW) -endif (policy CMP0048) +endif (POLICY CMP0048) project( googletest-distribution ) -- cgit v1.2.3