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