CMake: suppress install-path warnings with newer CMake

None of the edge cases that the policy is for are applicable.
This commit is contained in:
Adriaan de Groot 2024-12-21 14:43:40 +01:00
parent c251be3ef3
commit e6fa229b18

View File

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