now needs dynlib support
This commit is contained in:
parent
1168d5a85d
commit
499cef0367
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue