summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
#