From 66773cd55c2fea1a8916a4d251d3bf6bc0293e8a Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 27 Apr 2013 13:53:29 +0000 Subject: [PATCH] [CMAKE] * Don't set a default list of linked libraries, let us decide that ourselves. Fixes the recent VS build issues. svn path=/trunk/; revision=58871 --- reactos/cmake/Platform/Windows-MSVC.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/cmake/Platform/Windows-MSVC.cmake b/reactos/cmake/Platform/Windows-MSVC.cmake index 7bb59fb6985..cf117c66c44 100644 --- a/reactos/cmake/Platform/Windows-MSVC.cmake +++ b/reactos/cmake/Platform/Windows-MSVC.cmake @@ -148,11 +148,11 @@ else() if(MSVC_VERSION GREATER 1310) set(_RTC1 "/RTC1") set(_FLAGS_CXX " /GR /EHsc") - set(CMAKE_C_STANDARD_LIBRARIES_INIT "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib") + set(CMAKE_C_STANDARD_LIBRARIES_INIT "") else() set(_RTC1 "/GZ") set(_FLAGS_CXX " /GR /GX") - set(CMAKE_C_STANDARD_LIBRARIES_INIT "kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib") + set(CMAKE_C_STANDARD_LIBRARIES_INIT "") endif() endif()