diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-23 17:20:44 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-08-23 17:20:44 +0000 |
commit | d133713e0c5ae95aaacc08ae9238a5f286c8aa5e (patch) | |
tree | 5f858bd9f7a5a307eccaa725e14f9caae1517f7b /net-p2p/eiskaltdcpp-lib/files/patch-eiskaltdcpp-daemon__CMakeLists.txt | |
parent | 1bf6562e6c0cf6a4351333ca9e7296cee9d6a5cc (diff) |
Notes
Diffstat (limited to 'net-p2p/eiskaltdcpp-lib/files/patch-eiskaltdcpp-daemon__CMakeLists.txt')
-rw-r--r-- | net-p2p/eiskaltdcpp-lib/files/patch-eiskaltdcpp-daemon__CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-p2p/eiskaltdcpp-lib/files/patch-eiskaltdcpp-daemon__CMakeLists.txt b/net-p2p/eiskaltdcpp-lib/files/patch-eiskaltdcpp-daemon__CMakeLists.txt new file mode 100644 index 000000000000..1ca83baf3c7b --- /dev/null +++ b/net-p2p/eiskaltdcpp-lib/files/patch-eiskaltdcpp-daemon__CMakeLists.txt @@ -0,0 +1,20 @@ +--- eiskaltdcpp-daemon/CMakeLists.txt.orig 2013-08-29 21:25:02.000000000 +0400 ++++ eiskaltdcpp-daemon/CMakeLists.txt 2014-08-10 17:16:29.124891587 +0400 +@@ -63,7 +63,16 @@ + ${ICONV_LIBRARIES} + ) + +-target_link_libraries (${PROJECT_NAME} dcpp ${LIBS}) ++if (BUILD_LIB) ++ set(DCPP_LIB dcpp) ++else (BUILD_LIB) ++ find_library(DCPP_LIB eiskaltdcpp) ++ if (DCPP_LIB) ++ message(STATUS "EiskaltDC++ shared library found at ${DCPP_LIB}") ++ endif (DCPP_LIB) ++endif (BUILD_LIB) ++ ++target_link_libraries (${PROJECT_NAME} ${DCPP_LIB} ${LIBS} ${Boost_LIBRARIES} ${GETTEXT_LIBRARIES} extra) + + if (CMAKE_BUILD_TYPE STREQUAL Debug) + add_definitions(-D_DEBUG) |