Commit 499cef03 authored by Ken Martin's avatar Ken Martin
Browse files

now needs dynlib support

parent 1168d5a8
......@@ -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.
......
......@@ -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.
......
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment