mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 06:55:59 +03:00
Fix for prev. commmit
This commit is contained in:
parent
d599c4532c
commit
aa63a789dc
1 changed files with 6 additions and 4 deletions
|
@ -6,10 +6,12 @@ ENDIF()
|
|||
|
||||
IF( DEFINED CSYNC_LIBRARY_PATH AND DEFINED CSYNC_INCLUDE_PATH )
|
||||
IF( WIN32 )
|
||||
SET(CSYNC_LIBRARY ${CMAKE_SOURCE_DIR}/src/libocsync.dll)
|
||||
ELSE( WIN32 )
|
||||
SET(CSYNC_LIBRARY ${CSYNC_LIBRARY}/src/libocsync.so)
|
||||
ENDIF( WIN32 )
|
||||
SET(CSYNC_LIBRARY ${CSYNC_LIBRARY_PATH}/src/libocsync.dll)
|
||||
ELSEIF ( APPLE )
|
||||
SET(CSYNC_LIBRARY ${CSYNC_LIBRARY_PATH}/src/libocsync.dylib)
|
||||
ELSE()
|
||||
SET(CSYNC_LIBRARY ${CSYNC_LIBRARY_PATH}/src/libocsync.so)
|
||||
ENDIF( )
|
||||
ELSE()
|
||||
FIND_LIBRARY(CSYNC_LIBRARY NAMES ocsync HINTS $ENV{CSYNC_DIR})
|
||||
ENDIF()
|
||||
|
|
Loading…
Reference in a new issue