diff --git a/toolchain-mingw32.cmake b/toolchain-mingw32.cmake index c50029b25c4..8e7a79d5bd5 100644 --- a/toolchain-mingw32.cmake +++ b/toolchain-mingw32.cmake @@ -19,6 +19,8 @@ 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 "") + # adjust the default behaviour of the FIND_XXX() commands: # search headers and libraries in the target environment, search # programs in the host environment