From 807b0907d5fa2decb6b3dcd7b6d44ec8af3960ec Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Wed, 4 Aug 2010 07:51:26 +0000 Subject: [PATCH] [CMAKE]: Add full support for linking RC files with windres. svn path=/branches/cmake-bringup/; revision=48448 --- toolchain-mingw32.cmake | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/toolchain-mingw32.cmake b/toolchain-mingw32.cmake index 8e7a79d5bd5..abbc90feaaa 100644 --- a/toolchain-mingw32.cmake +++ b/toolchain-mingw32.cmake @@ -17,9 +17,8 @@ SET(CMAKE_C_COMPILER ${MINGW_PREFIX}gcc) SET(CMAKE_CXX_COMPILER ${MINGW_PREFIX}g++) SET(CMAKE_RC_COMPILER ${MINGW_PREFIX}windres) SET(CMAKE_ASM_COMPILER ${MINGW_PREFIX}gcc) -set(CMAKE_ASM_COMPILE_OBJECT " -x assembler-with-cpp -o -D__ASM__ -c ") - -set(CMAKE_STANDARD_LIBRARIES "") +SET(CMAKE_ASM_COMPILE_OBJECT " -x assembler-with-cpp -o -D__ASM__ -c ") +SET(CMAKE_RC_COMPILE_OBJECT " -O coff -I${REACTOS_SOURCE_DIR}/include/ -I${REACTOS_BINARY_DIR}/include/reactos -i -o -DRC_INVOKED") # adjust the default behaviour of the FIND_XXX() commands: # search headers and libraries in the target environment, search