From 89541ad09e5d3923222f6d095ec1e327b6e1fbd4 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Wed, 29 Jan 2020 00:56:19 +0100 Subject: [PATCH] Document CMake policy --- CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b2bb7e68..719c2964f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -247,11 +247,13 @@ if(NOT CMAKE_MAKE_PROGRAM_PRETTY_NAME) endif() if(CMAKE_VERSION VERSION_LESS 3.12) - if(POLICY CMP0057) # required by FindDoxygen.cmake module - cmake_policy(SET CMP0057 NEW) + if(POLICY CMP0057) # required by FindDoxygen.cmake module + cmake_policy(SET CMP0057 NEW) # Support if() IN_LIST operator, added in CMake 3.3 endif() endif() + + ################################################################################ # Minimum required versions ################################################################################