From 5980aa1e51edf2261746acf10f7d9be0406caaed Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 29 Jul 2019 16:06:33 -0400 Subject: yuzu/CMakeLists: Remove qt5_wrap_ui macro usage We can simply enable CMAKE_AUTOUIC and let CMake take care of handling the UI code generation for targets. As part of letting CMake automatically handle the header file parsing, we must not name includes with "ui_*" unless they're related to the output of the Qt UIC compiler. Because of this, we need to rename ui_settings, given it would conflict with this restriction. --- src/yuzu/ui_settings.cpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/yuzu/ui_settings.cpp (limited to 'src/yuzu/ui_settings.cpp') diff --git a/src/yuzu/ui_settings.cpp b/src/yuzu/ui_settings.cpp deleted file mode 100644 index 4bdc302e0..000000000 --- a/src/yuzu/ui_settings.cpp +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2016 Citra Emulator Project -// Licensed under GPLv2 or any later version -// Refer to the license.txt file included. - -#include "ui_settings.h" - -namespace UISettings { - -const Themes themes{{ - {"Default", "default"}, - {"Dark", "qdarkstyle"}, -}}; - -Values values = {}; -} // namespace UISettings -- cgit v1.2.3