1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Update mapeditor/CMakeLists.txt

Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
This commit is contained in:
Gigas002
2024-07-03 14:46:15 +00:00
committed by GitHub
parent 71025f1aad
commit b328a423a4

View File

@@ -155,12 +155,9 @@ endif()
assign_source_group(${editor_SRCS} ${editor_HEADERS} ${editor_RESOURCES} ${editor_TS} ${editor_ICON})
# TODO: enabling AUTORCC breaks msvc build on CI
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
if(NOT (MSVC AND "$ENV{GITHUB_ACTIONS}" STREQUAL true))
set(CMAKE_AUTORCC ON)
endif()
if(POLICY CMP0071)
cmake_policy(SET CMP0071 NEW)