summaryrefslogtreecommitdiff
path: root/Modules/FindDoxygen.cmake
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-02-28 11:34:05 +1100
committerCraig Scott <craig.scott@crascit.com>2021-02-28 11:34:05 +1100
commit79fa7529e027c5b341f08c804986453808275dd0 (patch)
tree79ba362928bd6764bce64c267c577b1f93847351 /Modules/FindDoxygen.cmake
parent9ff169d1a5b46b85571f44441f0b51e1ea183cde (diff)
downloadcmake-79fa7529e027c5b341f08c804986453808275dd0.tar.gz
FindDoxygen: Prevent CMP0054 policy warnings
Fixes: #21871
Diffstat (limited to 'Modules/FindDoxygen.cmake')
-rw-r--r--Modules/FindDoxygen.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake
index bbf941efb1..7fe5da137f 100644
--- a/Modules/FindDoxygen.cmake
+++ b/Modules/FindDoxygen.cmake
@@ -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