now needs dynlib support

This commit is contained in:
Ken Martin 2002-08-28 16:33:38 -04:00
parent 1168d5a85d
commit 499cef0367
3 changed files with 15 additions and 3 deletions

View File

@ -13,7 +13,11 @@ LINK_LIBRARIES(${COMPLEX_LIBS})
ADD_EXECUTABLE(complex complex)
TARGET_LINK_LIBRARIES(complex CMakeLib)
IF (UNIX)
TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS})
ELSE(UNIX)
TARGET_LINK_LIBRARIES(complex CMakeLib)
ENDIF (UNIX)
#
# Output the files required by 'complex' to a file.

View File

@ -13,7 +13,11 @@ LINK_LIBRARIES(${COMPLEX_LIBS})
ADD_EXECUTABLE(complex complex)
TARGET_LINK_LIBRARIES(complex CMakeLib)
IF (UNIX)
TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS})
ELSE(UNIX)
TARGET_LINK_LIBRARIES(complex CMakeLib)
ENDIF (UNIX)
#
# Output the files required by 'complex' to a file.

View File

@ -13,7 +13,11 @@ LINK_LIBRARIES(${COMPLEX_LIBS})
ADD_EXECUTABLE(complex complex)
TARGET_LINK_LIBRARIES(complex CMakeLib)
IF (UNIX)
TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS})
ELSE(UNIX)
TARGET_LINK_LIBRARIES(complex CMakeLib)
ENDIF (UNIX)
#
# Output the files required by 'complex' to a file.