Mercurial > hg > freeDiameter
changeset 677:fdce8d4575b7
Cleanup link commands for Fedora
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 18 Jan 2011 10:21:13 +0900 |
parents | 684f9e0e0c96 |
children | 7b51832f1503 |
files | freeDiameterd/CMakeLists.txt include/freeDiameter/CMakeLists.txt |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/freeDiameterd/CMakeLists.txt Tue Jan 18 10:11:52 2011 +0900 +++ b/freeDiameterd/CMakeLists.txt Tue Jan 18 10:21:13 2011 +0900 @@ -12,7 +12,7 @@ VERSION ${FD_PROJECT_VERSION_MAJOR}.${FD_PROJECT_VERSION_MINOR}.${FD_PROJECT_VERSION_REV}) # The link command -TARGET_LINK_LIBRARIES(freeDiameterd libfdcore ${CMAKE_THREAD_LIBS_INIT} ${GNUTLS_LIBRARIES}) +TARGET_LINK_LIBRARIES(freeDiameterd libfdproto libfdcore ${GNUTLS_LIBRARIES}) #### ## INSTALL section ##
--- a/include/freeDiameter/CMakeLists.txt Tue Jan 18 10:11:52 2011 +0900 +++ b/include/freeDiameter/CMakeLists.txt Tue Jan 18 10:21:13 2011 +0900 @@ -143,8 +143,11 @@ # And includes paths SET(LFDCORE_INCLUDES ${SCTP_INCLUDE_DIR} ${GNUTLS_INCLUDE_DIR} ${GCRYPT_INCLUDE_DIR} PARENT_SCOPE) # And dependencies -SET(LFDCORE_LINK_INTERFACES "" PARENT_SCOPE) # We don't force any other library, the programs will link with what they needs - # (such as libgnutls if they use GNUTLS_DEBUG() macro) +SET(LFDCORE_LINK_INTERFACES "" PARENT_SCOPE) + # We don't force other libraries, the programs will link with what it needs + # (such as libgnutls if it uses GNUTLS_DEBUG() macro + # or libfdproto if it uses some of its interfaces directly) + # See freeDiameterd/CMakeLists.txt for an example. ##########################