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

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2012-06-19 01:21:12 +0400
committerThomas Mueller <thomas.mueller@tmit.eu>2012-06-19 01:21:12 +0400
commit963e76dea4c50b3da85ef4ad24592dced9359b79 (patch)
tree61ff852e75436bd1940b2a984e38107fa81acf8d /cmake
parent5e2729ddefdf4661e4efe74ba05e3c68bcf0a487 (diff)
added HINTS to a path which can be specified via a environment setting
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindCsync.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindCsync.cmake b/cmake/modules/FindCsync.cmake
index e81c0c14d..feeaa220b 100644
--- a/cmake/modules/FindCsync.cmake
+++ b/cmake/modules/FindCsync.cmake
@@ -1,7 +1,7 @@
IF(EXISTS "${CMAKE_SOURCE_DIR}/../csync/src/csync.h")
SET(CSYNC_INCLUDE_PATH ${CMAKE_SOURCE_DIR}/../csync/src/)
ELSE()
- FIND_PATH(CSYNC_INCLUDE_PATH NAMES csync/csync.h)
+ FIND_PATH(CSYNC_INCLUDE_PATH NAMES csync/csync.h HINTS $ENV{CSYNC_DIR} )
ENDIF()
IF(EXISTS "${CMAKE_SOURCE_DIR}/../buildcsync/src/")
@@ -11,7 +11,7 @@ IF(EXISTS "${CMAKE_SOURCE_DIR}/../buildcsync/src/")
SET(CSYNC_LIBRARY ${CMAKE_SOURCE_DIR}/../buildcsync/src/libcsync.so)
ENDIF( WIN32 )
ELSE()
- FIND_LIBRARY(CSYNC_LIBRARY NAMES csync )
+ FIND_LIBRARY(CSYNC_LIBRARY NAMES csync HINTS $ENV{CSYNC_DIR})
ENDIF()
SET(CSYNC_INCLUDE_DIR ${CSYNC_INCLUDE_PATH})