Set policy CMP0074 to eliminate CMake warning.
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
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)
|
||||
|
||||
option(WEBCC_ENABLE_LOG "Enable logging?" ON)
|
||||
|
||||
Reference in New Issue
Block a user