1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-10-17 16:42:46 +02:00
Nextcloud-Desktop/cmake/modules/FindCsync.cmake
Duncan Mac-Vicar P 3ce5932bbd g
Basic implementation of a CSyncFolder

Still waiting for Jann's patches for conflictcopy to hit a stable
release to make it the default.
2011-04-07 19:04:07 +02:00

17 lines
448 B
CMake

FIND_LIBRARY(CSYNC_LIBRARY NAMES csync)
FIND_PATH(CSYNC_INCLUDE_PATH csync.h
HINTS "/usr/include/csync")
SET(CSYNC_INCLUDE_DIR ${CSYNC_INCLUDE_PATH})
# handle the QUIETLY and REQUIRED arguments and set CSYNC_FOUND to TRUE if
# all listed variables are TRUE
include(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Csync DEFAULT_MSG
CSYNC_LIBRARY CSYNC_INCLUDE_PATH)
MARK_AS_ADVANCED(
CSYNC_INCLUDE_PATH
CSYNC_LIBRARY)