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
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2016-04-12 15:43:04 +0300
committerOlivier Goffart <ogoffart@woboq.com>2016-04-12 15:43:26 +0300
commitfdcdddca167610674a471858975ccf9f229377fa (patch)
treee0715597e7bb09af24050e5a73e8aaac0a65f84d /src/CMakeLists.txt
parentbf99306a53a098242e2082a7ec8e8d372ff6c046 (diff)
CMakeLists: move QtKeychain detection in client
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 923c5b36b..b28797702 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -23,6 +23,14 @@ if (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif()
+if(NOT TOKEN_AUTH_ONLY)
+ if (Qt5Core_DIR)
+ find_package(Qt5Keychain REQUIRED)
+ else()
+ find_package(QtKeychain REQUIRED)
+ endif()
+endif()
+
add_subdirectory(libsync)
if (NOT BUILD_LIBRARIES_ONLY)
add_subdirectory(gui)