From 1a8ef265ca8e1d0b0b5eeffa280e977319aa62c4 Mon Sep 17 00:00:00 2001 From: Zeex Date: Sat, 31 Oct 2020 16:49:46 +0600 Subject: Fix CMake warning about policy CMP0054 --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f647e26..2d48b5c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,9 @@ project(subhook C) if(POLICY CMP0042) cmake_policy(SET CMP0042 NEW) endif() +if(POLICY CMP0054) + cmake_policy(SET CMP0054 NEW) +endif() list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) -- cgit v1.1