Hi,
with recent cvs code MS Visual Studio 2005 Express Edition has linking problems. The appended patch fix it.

Regards
Ralf
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CMakeLists.txt,v
retrieving revision 1.403
diff -u -r1.403 CMakeLists.txt
--- CMakeLists.txt      1 Aug 2008 16:10:43 -0000       1.403
+++ CMakeLists.txt      18 Aug 2008 22:02:31 -0000
@@ -432,6 +432,13 @@
 ADD_EXECUTABLE(cpack CPack/cpack.cxx)
 TARGET_LINK_LIBRARIES(cpack CPackLib)
 
+if (MSVC)
+TARGET_LINK_LIBRARIES(DumpDocumentation comsuppw wbemuuid)
+TARGET_LINK_LIBRARIES(cmake comsuppw wbemuuid)
+TARGET_LINK_LIBRARIES(cpack comsuppw wbemuuid)
+TARGET_LINK_LIBRARIES(ctest comsuppw wbemuuid)
+endif (MSVC)
+
 # Curses GUI
 IF(BUILD_CursesDialog)
   INCLUDE(${CMake_SOURCE_DIR}/Source/CursesDialog/CMakeLists.txt)

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to