From e6fa229b18992e5d26cd4493c942af6748d70fe7 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sat, 21 Dec 2024 14:43:40 +0100 Subject: [PATCH] CMake: suppress install-path warnings with newer CMake None of the edge cases that the policy is for are applicable. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 91521ca0a..c83428a8a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -239,6 +239,9 @@ list(APPEND CMAKE_AUTOMOC_MACRO_NAMES "K_EXPORT_PLASMA_DATAENGINE_WITH_JSON" "K_EXPORT_PLASMA_RUNNER" ) +if(POLICY CMP0171) + cmake_policy(SET CMP0177 NEW) +endif() # CMake Modules include(CMakePackageConfigHelpers)