mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2025-11-29 17:38:24 +08:00
fix(Cmake): using policy 0153 if exist (#18416)
This commit is contained in:
@@ -17,7 +17,10 @@ message(STATUS "CMake version: ${CMAKE_VERSION}")
|
||||
|
||||
# CMake policies (can not be handled elsewhere)
|
||||
cmake_policy(SET CMP0005 NEW)
|
||||
|
||||
if (POLICY CMP0153)
|
||||
cmake_policy(SET CMP0153 OLD)
|
||||
endif()
|
||||
|
||||
# Set projectname (must be done AFTER setting configurationtypes)
|
||||
project(AzerothCore VERSION 3.0.0 LANGUAGES CXX C)
|
||||
|
||||
Reference in New Issue
Block a user