Set policy CMP0074 to eliminate CMake warning.

master
Adam Gu 7 years ago
parent 08ba4a01ef
commit 8faa45defe

@ -1,4 +1,11 @@
cmake_minimum_required(VERSION 3.1.0) cmake_minimum_required(VERSION 3.1.0)
if(POLICY CMP0074)
# find_package() uses <PackageName>_ROOT variables.
# This policy was introduced in CMake version 3.12.
cmake_policy(SET CMP0074 NEW)
endif()
project(webcc) project(webcc)
option(WEBCC_ENABLE_LOG "Enable logging?" ON) option(WEBCC_ENABLE_LOG "Enable logging?" ON)

Loading…
Cancel
Save