diff options
-rw-r--r-- | Tests/Complex/Executable/CMakeLists.txt | 5 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/CMakeLists.txt | 5 | ||||
-rw-r--r-- | 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) # |