diff options
author | David Cole <david.cole@kitware.com> | 2008-08-01 16:10:43 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-08-01 16:10:43 (GMT) |
commit | 5c47163d41dad280b1e484f9311037aa501552d4 (patch) | |
tree | 69f85ae976f974ac3d2b95226da1b2170315e3ee /Source/CMakeLists.txt | |
parent | ead5e0ce85f96e5895b72948d4e8d4881b5daa34 (diff) | |
download | CMake-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.txt | 7 |
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) # |