add rpcrt4.lib because of CMakeLib needing it

This commit is contained in:
Bill Hoffman 2002-08-30 09:54:48 -04:00
parent b64c6bba11
commit 31f80f19ae
3 changed files with 12 additions and 3 deletions

View File

@ -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)
#

View File

@ -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)
#

View File

@ -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)
#