* 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
This commit is contained in:
Amine Khaldi 2013-04-27 13:53:29 +00:00
parent f4aedab366
commit 66773cd55c

View file

@ -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()