diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b67aa9..c71a1c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,10 @@ if(POLICY_CMP0144) cmake_policy(SET CMP0144 NEW) endif() +if(POLICY CMP0167) + cmake_policy(SET CMP0167 NEW) +endif() + if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang") set(SANITIZE "address,undefined") if(UNIX AND NOT APPLE)