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 ################################################################################