summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-cl.cmake
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-11-22 17:04:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-11-22 17:04:41 (GMT)
commit2dff0978b987b32bdc775b8920172d17b9750200 (patch)
treeb9b880b38cc3625dbcf631c5ffa015597da5f747 /Modules/Platform/Windows-cl.cmake
parent066d5259c0a65bb43356f5c1612fc1928843164c (diff)
downloadCMake-2dff0978b987b32bdc775b8920172d17b9750200.zip
CMake-2dff0978b987b32bdc775b8920172d17b9750200.tar.gz
CMake-2dff0978b987b32bdc775b8920172d17b9750200.tar.bz2
BUG: fix for bug 2488
Diffstat (limited to 'Modules/Platform/Windows-cl.cmake')
-rw-r--r--Modules/Platform/Windows-cl.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-cl.cmake b/Modules/Platform/Windows-cl.cmake
index a0b9876..c6f0619 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")