diff --git a/CMakeLists.txt b/CMakeLists.txt index f752a8eb188..bd98d3ac47c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ endif() if(POLICY CMP0026) # Allow use of the LOCATION property - cmake_policy(SET CMP0026 OLD) + cmake_policy(SET CMP0026 NEW) endif() if(POLICY CMP0051)