diff --git a/CMakeLists.txt b/CMakeLists.txt index c98ba63..761f03e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,11 @@ cmake_minimum_required(VERSION 3.1.0) + +if(POLICY CMP0074) + # find_package() uses _ROOT variables. + # This policy was introduced in CMake version 3.12. + cmake_policy(SET CMP0074 NEW) +endif() + project(webcc) option(WEBCC_ENABLE_LOG "Enable logging?" ON)