feat(Cmake): set policy CMP005 to NEW (#2294)

This commit is contained in:
Kargatum
2019-09-22 19:02:40 +07:00
committed by Stoabrogga
parent 3518c9e9f5
commit 7afaf743c6

View File

@@ -17,7 +17,7 @@ project(AzerothCore)
cmake_minimum_required(VERSION 3.8)
# CMake policies (can not be handled elsewhere)
cmake_policy(SET CMP0005 OLD)
cmake_policy(SET CMP0005 NEW)
# add this options before PROJECT keyword
set(CMAKE_DISABLE_SOURCE_CHANGES ON)