[CMAKE]: Don't auto-link with Win32 stuff.
authorSir Richard <sir_richard@svn.reactos.org>
Tue, 3 Aug 2010 21:38:59 +0000 (21:38 +0000)
committerSir Richard <sir_richard@svn.reactos.org>
Tue, 3 Aug 2010 21:38:59 +0000 (21:38 +0000)
svn path=/branches/cmake-bringup/; revision=48439

toolchain-mingw32.cmake

index c50029b..8e7a79d 100644 (file)
@@ -19,6 +19,8 @@ SET(CMAKE_RC_COMPILER ${MINGW_PREFIX}windres)
 SET(CMAKE_ASM_COMPILER ${MINGW_PREFIX}gcc)
 set(CMAKE_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> -x assembler-with-cpp -o <OBJECT> <FLAGS> <DEFINES> -D__ASM__ -c <SOURCE>")
 
+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