From 31f80f19aec938a3109e6d8c17172a3538d0477f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 30 Aug 2002 09:54:48 -0400 Subject: add rpcrt4.lib because of CMakeLib needing it --- Tests/Complex/Executable/CMakeLists.txt | 5 ++++- Tests/ComplexOneConfig/Executable/CMakeLists.txt | 5 ++++- Tests/ComplexRelativePaths/Executable/CMakeLists.txt | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index 9eaf3ff..8d3c11d 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -16,7 +16,10 @@ ADD_EXECUTABLE(complex complex) IF (UNIX) TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS}) ELSE(UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib) + TARGET_LINK_LIBRARIES(complex CMakeLib) + IF (NOT BORLAND) + TARGET_LINK_LIBRARIES(complex rpcrt4.lib) + ENDIF(NOT BORLAND) ENDIF (UNIX) # diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index 9eaf3ff..8d3c11d 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt @@ -16,7 +16,10 @@ ADD_EXECUTABLE(complex complex) IF (UNIX) TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS}) ELSE(UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib) + TARGET_LINK_LIBRARIES(complex CMakeLib) + IF (NOT BORLAND) + TARGET_LINK_LIBRARIES(complex rpcrt4.lib) + ENDIF(NOT BORLAND) ENDIF (UNIX) # diff --git a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt index 9eaf3ff..8d3c11d 100644 --- a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt @@ -16,7 +16,10 @@ ADD_EXECUTABLE(complex complex) IF (UNIX) TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS}) ELSE(UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib) + TARGET_LINK_LIBRARIES(complex CMakeLib) + IF (NOT BORLAND) + TARGET_LINK_LIBRARIES(complex rpcrt4.lib) + ENDIF(NOT BORLAND) ENDIF (UNIX) # -- cgit v0.12