Browse Source

FindDoxygen: Prevent CMP0054 policy warnings

Fixes: #21871
Craig Scott 4 years ago
parent
commit
79fa7529e0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Modules/FindDoxygen.cmake

+ 1 - 0
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