From aad028cccbbece47d9d59c5af98eabf73e36289a Mon Sep 17 00:00:00 2001 From: zapashcanon Date: Wed, 22 Nov 2017 19:52:58 +0100 Subject: [PATCH] Fix CMake warning --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ec7bdae665..3ead1212bef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ IF(COMMAND CMAKE_POLICY) CMAKE_POLICY(SET CMP0005 NEW) CMAKE_POLICY(SET CMP0003 NEW) IF (CMAKE_MAJOR_VERSION GREATER 2) - CMAKE_POLICY(SET CMP0026 OLD) + CMAKE_POLICY(SET CMP0026 NEW) CMAKE_POLICY(SET CMP0050 OLD) ENDIF() ENDIF(COMMAND CMAKE_POLICY)