summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-11 19:53:33 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-11 19:55:06 (GMT)
commitc1fd1607b8b2e879258f4257a86f9262ccd3d27c (patch)
tree9cef2169130a57b84da37732b9fa488b3c26d9bb /Modules
parente0e56abe3479efddd994cc1a3ee9b8a123111903 (diff)
parente8213404cec972ba43b16ec1b49b62f43c9f48b8 (diff)
downloadCMake-c1fd1607b8b2e879258f4257a86f9262ccd3d27c.zip
CMake-c1fd1607b8b2e879258f4257a86f9262ccd3d27c.tar.gz
CMake-c1fd1607b8b2e879258f4257a86f9262ccd3d27c.tar.bz2
Merge branch 'FindDoxygen-CMP0057' into release-3.12
Merge-request: !2373
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindDoxygen.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/FindDoxygen.cmake b/Modules/FindDoxygen.cmake
index 945ee0e..2ed9449 100644
--- a/Modules/FindDoxygen.cmake
+++ b/Modules/FindDoxygen.cmake
@@ -370,6 +370,9 @@ Deprecated Hint Variables
#]=======================================================================]
+cmake_policy(PUSH)
+cmake_policy(SET CMP0057 NEW) # if IN_LIST
+
# For backwards compatibility support
if(Doxygen_FIND_QUIETLY)
set(DOXYGEN_FIND_QUIETLY TRUE)
@@ -1108,3 +1111,5 @@ doxygen_add_docs() for target ${targetName}")
)
endfunction()
+
+cmake_policy(POP)