summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-12 13:35:39 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-09-12 13:35:45 (GMT)
commit8bf5c2326e3e37a3431adb72a1cb46623a65f331 (patch)
tree69ab0b2a28dcc3799c0021bd6989c61610b3928a /Modules
parente7a45e3ec34df651ea165ea7344c474245ded7df (diff)
parente8213404cec972ba43b16ec1b49b62f43c9f48b8 (diff)
downloadCMake-8bf5c2326e3e37a3431adb72a1cb46623a65f331.zip
CMake-8bf5c2326e3e37a3431adb72a1cb46623a65f331.tar.gz
CMake-8bf5c2326e3e37a3431adb72a1cb46623a65f331.tar.bz2
Merge topic 'FindDoxygen-CMP0057'
e8213404ce FindDoxygen: Ensure policy settings allow use of IN_LIST Acked-by: Kitware Robot <kwrobot@kitware.com> 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)