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

16 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)