BUG: Improve fix for issue #7058 - comsuppd did not yet exist in VC6.

This commit is contained in:
David Cole 2008-08-01 12:10:43 -04:00
parent ead5e0ce85
commit 5c47163d41
1 changed files with 6 additions and 1 deletions

View File

@ -307,7 +307,12 @@ ENDIF(CMAKE_BUILD_ON_VISUAL_STUDIO OR MINGW)
# _MSC_VER and HAVE_COMDEF_H are defined...
#
IF(MSVC)
TARGET_LINK_LIBRARIES(CMakeLib optimized comsupp debug comsuppd)
IF(MSVC60)
# comsuppd did not yet exist in VS6
TARGET_LINK_LIBRARIES(CMakeLib comsupp)
ELSE(MSVC60)
TARGET_LINK_LIBRARIES(CMakeLib optimized comsupp debug comsuppd)
ENDIF(MSVC60)
ENDIF(MSVC)
#