From 918fd174f33ce2024a238e94ccfd790e828cc39b Mon Sep 17 00:00:00 2001 From: Gleb Mazovetskiy Date: Sun, 14 Mar 2021 12:39:55 +0000 Subject: [PATCH] Set `MYGUI_DONT_USE_OBSOLETE=OFF` Fixes https://gitlab.com/OpenMW/openmw/-/issues/5896 --- extern/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index bf18e4136f..613de8fa80 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -55,7 +55,10 @@ if(NOT OPENMW_USE_SYSTEM_MYGUI) set(MYGUI_BUILD_DEMOS OFF CACHE BOOL "") set(MYGUI_BUILD_PLUGINS OFF CACHE BOOL "") set(MYGUI_BUILD_TOOLS OFF CACHE BOOL "") - set(MYGUI_DONT_USE_OBSOLETE ON CACHE BOOL "") + + # We appear to be using some obsolete properties in the XML. + # See https://gitlab.com/OpenMW/openmw/-/issues/5896 + set(MYGUI_DONT_USE_OBSOLETE OFF CACHE BOOL "") if(MYGUI_STATIC) set(BUILD_SHARED_LIBS OFF)