From a4a0dd2106bc183408441c20a17d5d1c53fa52b9 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Thu, 28 Oct 2021 05:18:03 +0200
Subject: Clean up
It turns out the RC detection snippet is no longer necessary
after the recent CMake version bump.
The "name" argument in the UI file is redundant, implied by "action".
---
CMakeLists.txt | 15 +++------------
share/gui/window-main.ui | 8 ++++----
2 files changed, 7 insertions(+), 16 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fae6c48..a105bd6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -155,19 +155,10 @@ set (logdiag_HEADERS
${liblogdiag_HEADERS}
src/ld-window-main.h)
-# Resource compilation for MinGW
-if (MINGW)
- set (CMAKE_RC_COMPILER_INIT windres)
- enable_language (RC)
- set (CMAKE_RC_FLAGS "-O coff")
- set (CMAKE_RC_COMPILE_OBJECT
- "