From 2dff0978b987b32bdc775b8920172d17b9750200 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 22 Nov 2005 12:04:41 -0500 Subject: [PATCH] BUG: fix for bug 2488 --- Modules/Platform/Windows-cl.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake index a0b9876b3e..c6f0619a03 100644 --- a/Modules/Platform/Windows-cl.cmake +++ b/Modules/Platform/Windows-cl.cmake @@ -172,6 +172,8 @@ ELSE(CMAKE_COMPILER_2005) SET (CMAKE_C_FLAGS_MINSIZEREL_INIT "/MT /O1") SET (CMAKE_C_FLAGS_RELEASE_INIT "/MT /O2") SET (CMAKE_C_FLAGS_RELWITHDEBINFO_INIT "/MT /Zi /O2") + SET (CMAKE_STANDARD_LIBRARIES "kernel32.lib user32.lib gdi32.lib advapi32.lib rpcrt4.lib" CACHE STRING + "Libraries linked by defalut with all applications.") ELSE(CMAKE_USING_VC_FREE_TOOLS) SET(CMAKE_BUILD_TYPE_INIT Debug) SET (CMAKE_CXX_FLAGS_INIT "/W3 /Zm1000 /GX /GR")