diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,12 @@ if (POLICY CMP0063) cmake_policy(SET CMP0063 NEW) # Policy introduced in CMake version 3.3 endif() +if (POLICY CMP0071) + # We do not require the old behaviour. It is only set to old, to prevent accidential use of + # the new behavour. If the new behaviour becomes important, cmake_minimum_required has to be + # set to "3.10". + cmake_policy(SET CMP0071 OLD) # Policy introduced in CMake version 3.10 +endif() ######################### General Requirements ##########################