Merge pull request #1114 from owncloud/freebsd-inotify

Need inotify on FreeBSD for libsync
This commit is contained in:
hefee 2013-10-23 02:36:12 -07:00
commit b4621e22e6

View file

@ -137,6 +137,12 @@ list(APPEND libsync_LINK_TARGETS
${HTTPBF_LIBRARY}
)
IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
list(APPEND libsync_LINK_TARGETS
inotify
)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
if(QTKEYCHAIN_FOUND)
list(APPEND libsync_LINK_TARGETS ${QTKEYCHAIN_LIBRARY})
include_directories(${QTKEYCHAIN_INCLUDE_DIR})