summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-08-01 16:10:43 (GMT)
committerDavid Cole <david.cole@kitware.com>2008-08-01 16:10:43 (GMT)
commit5c47163d41dad280b1e484f9311037aa501552d4 (patch)
tree69f85ae976f974ac3d2b95226da1b2170315e3ee /Source/CMakeLists.txt
parentead5e0ce85f96e5895b72948d4e8d4881b5daa34 (diff)
downloadCMake-5c47163d41dad280b1e484f9311037aa501552d4.zip
CMake-5c47163d41dad280b1e484f9311037aa501552d4.tar.gz
CMake-5c47163d41dad280b1e484f9311037aa501552d4.tar.bz2
BUG: Improve fix for issue #7058 - comsuppd did not yet exist in VC6.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
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)
#