From 0efbac95d2528811e7b9292c5e7ff15fa53c9c29 Mon Sep 17 00:00:00 2001 From: Sir Richard Date: Tue, 3 Aug 2010 21:38:59 +0000 Subject: [PATCH] [CMAKE]: Don't auto-link with Win32 stuff. svn path=/branches/cmake-bringup/; revision=48439 --- toolchain-mingw32.cmake | 2 ++ 1 file changed, 2 insertions(+) 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