diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2016-04-12 15:43:04 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2016-04-12 15:43:26 +0300 |
commit | fdcdddca167610674a471858975ccf9f229377fa (patch) | |
tree | e0715597e7bb09af24050e5a73e8aaac0a65f84d /src/CMakeLists.txt | |
parent | bf99306a53a098242e2082a7ec8e8d372ff6c046 (diff) |
CMakeLists: move QtKeychain detection in client
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 8 |
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) |