Merge pull request #1170 from Manozco/1169_fix_old_cmake_issue

Fix policy issue with old cmakes
This commit is contained in:
Gennadiy Civil
2017-08-02 22:08:49 -04:00
committed by GitHub

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