diff --git a/CMakeLists.txt b/CMakeLists.txt index 320c6ccd..5bf71f02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -418,7 +418,7 @@ if(MINGW) set(CMAKE_RC_COMPILER_INIT windres) enable_language(RC) set(CMAKE_RC_COMPILE_OBJECT - " --target=${rc_target} -i -o ") + " -O coff --target=${rc_target} -i -o ") endmacro() if (NOT CMAKE_SYSTEM_PROCESSOR )