Hi! It seams that the generators (except the makefile-based ones) ignores the CMAKE_STANDARD_LIBRARIES variable. A workaround would be: IF (CMAKE_GENERATOR MATCHES "Visual Studio 7 .NET 2003") LINK_LIBRARIES (user32.lib kernel32.lib ws2_32.lib advapi32.lib) ENDIF (CMAKE_GENERATOR MATCHES "Visual Studio 7 .NET 2003") Bernhard