From b3c3d5f79dd538856a2418298aade9c6eccdbac9 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sat, 4 May 2019 19:59:09 +0200 Subject: [PATCH] Fix CMake policy warning --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a7dc8587..9aa96ad3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,9 @@ cmake_minimum_required(VERSION 3.10.2) cmake_policy(VERSION 3.10.2) +if (POLICY CMP0076) + cmake_policy(SET CMP0076 NEW) +endif() set(CMAKE_CXX_STANDARD 11) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})