From 5c47163d41dad280b1e484f9311037aa501552d4 Mon Sep 17 00:00:00 2001 From: David Cole Date: Fri, 1 Aug 2008 12:10:43 -0400 Subject: BUG: Improve fix for issue #7058 - comsuppd did not yet exist in VC6. --- Source/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 140e427..c194c42 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -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) # -- cgit v0.12