CMake: Also set CSYNC_BINARY_DIR

...so NSIS finds its resource in the right place.
This commit is contained in:
Daniel Molkentin 2012-10-10 15:15:19 +02:00
parent 60f16896ed
commit 62a36cd3bb
1 changed files with 1 additions and 0 deletions

View File

@ -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()