[Cmake-commits] [cmake-commits] david.cole committed CMakeLists.txt 1.401 1.402
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Jul 31 13:46:20 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv2814
Modified Files:
CMakeLists.txt
Log Message:
BUG: Fix issue #7058 - link the commsup lib explicitly for use on some Visual Studio + SDK combinations
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CMakeLists.txt,v
retrieving revision 1.401
retrieving revision 1.402
diff -C 2 -d -r1.401 -r1.402
*** CMakeLists.txt 9 Jul 2008 17:38:55 -0000 1.401
--- CMakeLists.txt 31 Jul 2008 17:46:17 -0000 1.402
***************
*** 303,306 ****
--- 303,314 ----
ENDIF(CMAKE_BUILD_ON_VISUAL_STUDIO OR MINGW)
+ # With the Microsoft compiler (for _bstr_t support used from
+ # cmCallVisualStudioMacro) we need the comsupp lib. Needed when
+ # _MSC_VER and HAVE_COMDEF_H are defined...
+ #
+ IF(MSVC)
+ TARGET_LINK_LIBRARIES(CMakeLib optimized comsupp debug comsuppd)
+ ENDIF(MSVC)
+
#
# CTestLib
More information about the Cmake-commits
mailing list