feat(Cmake): add support old policy 0153 (#18384)

This commit is contained in:
Winfidonarleyan 2024-02-25 22:07:25 +07:00 committed by GitHub
parent 2a2cc3c22f
commit d72a71a4b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,7 @@ message(STATUS "CMake version: ${CMAKE_VERSION}")
# CMake policies (can not be handled elsewhere)
cmake_policy(SET CMP0005 NEW)
cmake_policy(SET CMP0153 OLD)
# Set projectname (must be done AFTER setting configurationtypes)
project(AzerothCore VERSION 3.0.0 LANGUAGES CXX C)