summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-01-17 14:27:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-01-17 14:27:43 (GMT)
commit2694ad76c538333d3ff45613bd1201f97af003cd (patch)
treeb3a13755d4c7495e74df212e4c0a40e17e3556d7 /Modules
parent6bb5f200ce85a27358ddabb137f39616a124fab8 (diff)
downloadCMake-2694ad76c538333d3ff45613bd1201f97af003cd.zip
CMake-2694ad76c538333d3ff45613bd1201f97af003cd.tar.gz
CMake-2694ad76c538333d3ff45613bd1201f97af003cd.tar.bz2
ENH: correct standard libraries
Diffstat (limited to 'Modules')
-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 f7d06b5..8ea450f 100644
--- a/Modules/Platform/Windows-cl.cmake
+++ b/Modules/Platform/Windows-cl.cmake
@@ -174,6 +174,8 @@ ELSE(CMAKE_COMPILER_2005)
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.")
+ SET (CMAKE_STANDARD_LIBRARIES "kernel32.lib user32.lib gdi32.lib advapi32.lib rpcrt4.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.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")