1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 03:48:02 +08:00

FindDoxygen: Prevent CMP0054 policy warnings

Fixes: #21871
This commit is contained in:
Craig Scott
2021-02-28 11:34:05 +11:00
parent 9ff169d1a5
commit 79fa7529e0

View File

@@ -395,6 +395,7 @@ Deprecated Hint Variables
#]=======================================================================]
cmake_policy(PUSH)
cmake_policy(SET CMP0054 NEW) # quoted if arguments
cmake_policy(SET CMP0057 NEW) # if IN_LIST
# For backwards compatibility support