Fix policy issue with old cmakes

#1169
This commit is contained in:
Manuel VIVES 2017-08-02 21:03:13 -04:00
parent d655d0989d
commit b68f1e769c

View File

@ -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()