From e9e69b7e5e5a331662093f801ada63494ffac0be Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 3 May 2002 18:10:49 -0400 Subject: fix borland test --- Tests/Complex/Library/CMakeLists.txt | 6 ++++-- Tests/ComplexOneConfig/Library/CMakeLists.txt | 6 ++++-- Tests/ComplexRelativePaths/Library/CMakeLists.txt | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/Tests/Complex/Library/CMakeLists.txt b/Tests/Complex/Library/CMakeLists.txt index 9feeb27..250ec32 100644 --- a/Tests/Complex/Library/CMakeLists.txt +++ b/Tests/Complex/Library/CMakeLists.txt @@ -22,12 +22,14 @@ ADD_LIBRARY(CMakeTestLibrary LibrarySources) IF(WIN32) IF(NOT CYGWIN) - TARGET_LINK_LIBRARIES(CMakeTestLibrary + IF(NOT BORLAND) + TARGET_LINK_LIBRARIES(CMakeTestLibrary debug user32.lib) - TARGET_LINK_LIBRARIES(CMakeTestLibrary + TARGET_LINK_LIBRARIES(CMakeTestLibrary optimized kernel32.lib) + ENDIF(NOT BORLAND) ENDIF(NOT CYGWIN) ENDIF(WIN32) diff --git a/Tests/ComplexOneConfig/Library/CMakeLists.txt b/Tests/ComplexOneConfig/Library/CMakeLists.txt index 9feeb27..250ec32 100644 --- a/Tests/ComplexOneConfig/Library/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Library/CMakeLists.txt @@ -22,12 +22,14 @@ ADD_LIBRARY(CMakeTestLibrary LibrarySources) IF(WIN32) IF(NOT CYGWIN) - TARGET_LINK_LIBRARIES(CMakeTestLibrary + IF(NOT BORLAND) + TARGET_LINK_LIBRARIES(CMakeTestLibrary debug user32.lib) - TARGET_LINK_LIBRARIES(CMakeTestLibrary + TARGET_LINK_LIBRARIES(CMakeTestLibrary optimized kernel32.lib) + ENDIF(NOT BORLAND) ENDIF(NOT CYGWIN) ENDIF(WIN32) diff --git a/Tests/ComplexRelativePaths/Library/CMakeLists.txt b/Tests/ComplexRelativePaths/Library/CMakeLists.txt index 9feeb27..250ec32 100644 --- a/Tests/ComplexRelativePaths/Library/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Library/CMakeLists.txt @@ -22,12 +22,14 @@ ADD_LIBRARY(CMakeTestLibrary LibrarySources) IF(WIN32) IF(NOT CYGWIN) - TARGET_LINK_LIBRARIES(CMakeTestLibrary + IF(NOT BORLAND) + TARGET_LINK_LIBRARIES(CMakeTestLibrary debug user32.lib) - TARGET_LINK_LIBRARIES(CMakeTestLibrary + TARGET_LINK_LIBRARIES(CMakeTestLibrary optimized kernel32.lib) + ENDIF(NOT BORLAND) ENDIF(NOT CYGWIN) ENDIF(WIN32) -- cgit v0.12