Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Molkentin <daniel@molkentin.de>2012-10-10 17:15:19 +0400
committerDaniel Molkentin <daniel@molkentin.de>2012-10-10 17:15:19 +0400
commit62a36cd3bb8199e71d293d05c8eaae0c31278c9e (patch)
treea2c4174fcf03034f6729e127d02aaed022de2bec
parent60f16896ed9f430847eaec1cb180c568487f3339 (diff)
CMake: Also set CSYNC_BINARY_DIR
...so NSIS finds its resource in the right place.
-rw-r--r--cmake/modules/FindCsync.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindCsync.cmake b/cmake/modules/FindCsync.cmake
index 4207c67f1..73f7cdd5a 100644
--- a/cmake/modules/FindCsync.cmake
+++ b/cmake/modules/FindCsync.cmake
@@ -12,6 +12,7 @@ IF( DEFINED CSYNC_LIBRARY_PATH AND DEFINED CSYNC_INCLUDE_PATH )
ELSE()
SET(CSYNC_LIBRARY ${CSYNC_LIBRARY_PATH}/src/libocsync.so)
ENDIF( )
+ SET(CSYNC_BINARY_DIR ${CSYNC_LIBRARY_PATH})
ELSE()
FIND_LIBRARY(CSYNC_LIBRARY NAMES ocsync HINTS $ENV{CSYNC_DIR})
ENDIF()