diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 7f252a8619..07642ec48e 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -41,6 +41,7 @@ cmake_policy(SET CMP0086 NEW) if (POLICY CMP0144) cmake_policy(SET CMP0144 NEW) # find_package() uses upper-case _ROOT variables. endif() +cmake_policy(SET CMP0167 OLD) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Release")