Changeset View
Changeset View
Standalone View
Standalone View
net-p2p/transmission-cli/files/patch-cmake_FindDHT.cmake
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- cmake/FindDHT.cmake.orig 2018-07-08 18:11:40 UTC | |||||
+++ cmake/FindDHT.cmake | |||||
@@ -15,6 +15,10 @@ endif() | |||||
find_path(DHT_INCLUDE_DIR NAMES dht/dht.h HINTS ${_DHT_INCLUDEDIR}) | |||||
find_library(DHT_LIBRARY NAMES dht HINTS ${_DHT_LIBDIR}) | |||||
+if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") | |||||
+ set(DHT_INCLUDE_DIR /usr/local/lib) | |||||
+endif() | |||||
+ | |||||
set(DHT_INCLUDE_DIRS ${DHT_INCLUDE_DIR}) | |||||
set(DHT_LIBRARIES ${DHT_LIBRARY}) |