mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
3ce5932bbd
Basic implementation of a CSyncFolder Still waiting for Jann's patches for conflictcopy to hit a stable release to make it the default.
16 lines
448 B
CMake
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)
|