From 1720ddc8086eb8f043a1ba2b7eeb7ebb76568c7a Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 6 Oct 2024 01:10:03 +0200 Subject: [PATCH] CMake: Remove unneeded windres and RC compiler hack --- CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 79f17886..26b7a52e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -262,12 +262,6 @@ if(WIN32) endif() endif() -if(WIN32 AND NOT MSVC) - string(REPLACE "gcc" "windres" CMAKE_RC_COMPILER_INIT ${CMAKE_C_COMPILER}) - enable_language(RC) - set(CMAKE_RC_COMPILE_OBJECT " -O coff -o -I ${CMAKE_SOURCE_DIR}/dist/windows") -endif() - optional_component(ALSA ON "ALSA integration" DEPENDS "alsa" ALSA_FOUND )