Author: akhaldi
Date: Sat Apr 27 13:53:29 2013
New Revision: 58871
URL:
http://svn.reactos.org/svn/reactos?rev=58871&view=rev
Log:
[CMAKE]
* Don't set a default list of linked libraries, let us decide that ourselves. Fixes
the recent VS build issues.
Modified:
trunk/reactos/cmake/Platform/Windows-MSVC.cmake
Modified: trunk/reactos/cmake/Platform/Windows-MSVC.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/Platform/Windows-MSV…
==============================================================================
--- trunk/reactos/cmake/Platform/Windows-MSVC.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/Platform/Windows-MSVC.cmake [iso-8859-1] Sat Apr 27 13:53:29 2013
@@ -148,11 +148,11 @@
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()