]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
CMakeLists: move QtKeychain detection in client
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 12 Apr 2016 12:43:04 +0000 (14:43 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Tue, 12 Apr 2016 12:43:26 +0000 (14:43 +0200)
CMakeLists.txt
src/CMakeLists.txt

index 356798ae8144c533cccf5b76db6e46a11fa6c511..d8efeb675f3e8f0f21ebdb1678016c9e8fad152a 100644 (file)
@@ -126,14 +126,6 @@ endif()
 
 find_package(OpenSSL 1.0.0 REQUIRED)
 
-if(NOT TOKEN_AUTH_ONLY)
-    if (Qt5Core_DIR)
-    find_package(Qt5Keychain REQUIRED)
-    else()
-    find_package(QtKeychain REQUIRED)
-    endif()
-endif()
-
 if(APPLE)
   find_package(Sparkle)
 endif(APPLE)
index 923c5b36bac41e5c3242805fc0467bba882f5ec0..b287977024afba9a76ffde78e7246c218ccd29b9 100644 (file)
@@ -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)