diff --git a/CMakeLists.txt b/CMakeLists.txt index 33ad62d..cb37c1f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,9 @@ cmake_minimum_required(VERSION 3.5) + +if(POLICY CMP0074) + cmake_policy(SET CMP0074 NEW) #3.12.0 `find_package()`` uses ``_ROOT`` variables. +endif() + #----------------------------------------------------------------------------- # Enable C++11 #-----------------------------------------------------------------------------