diff --git a/CMakeLists.txt b/CMakeLists.txt index 332655af..8c8d0398 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ cmake_minimum_required(VERSION 3.8) -cmake_policy(SET CMP0015 NEW) -cmake_policy(SET CMP0135 NEW) +if(POLICY CMP0135) + cmake_policy(SET CMP0135 NEW) +endif() project(libloot) include(ExternalProject)