CMake: Remove unneeded windres and RC compiler hack

This commit is contained in:
Jonas Kvinge 2024-10-06 01:10:03 +02:00
parent 056d8817b2
commit 1720ddc808
1 changed files with 0 additions and 6 deletions

View File

@ -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 "<CMAKE_RC_COMPILER> -O coff -o <OBJECT> <SOURCE> -I ${CMAKE_SOURCE_DIR}/dist/windows")
endif()
optional_component(ALSA ON "ALSA integration"
DEPENDS "alsa" ALSA_FOUND
)