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:
authorChristian Kamm <mail@ckamm.de>2019-06-07 20:41:10 +0300
committerChristian Kamm <mail@ckamm.de>2019-06-07 20:41:10 +0300
commita09c9347d801111890809d093378d41a58c6be6c (patch)
tree144f5cdfac1d8027d7543ae96822e596ad37e7b8 /cmake
parentfd523c3b0f6dc358e27c9ec18aea677c6683f74c (diff)
libcloudproviders: Fix version extraction #7235
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindLibcloudproviders.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindLibcloudproviders.cmake b/cmake/modules/FindLibcloudproviders.cmake
index 39edb200c..9b01f3a94 100644
--- a/cmake/modules/FindLibcloudproviders.cmake
+++ b/cmake/modules/FindLibcloudproviders.cmake
@@ -23,7 +23,7 @@ find_library(LIBCLOUDPROVIDERS_LIBRARY
# Using version <0.3.0 would lead to crashes during runtime when accounts are unexported.
get_filename_component(LIBCLOUDPROVIDERS_LIBRARY_REALPATH ${LIBCLOUDPROVIDERS_LIBRARY} REALPATH)
-if(${LIBCLOUDPROVIDERS_LIBRARY_REALPATH} MATCHES "\.([0-9]*)\.([0-9]*)\.([0-9]*)$")
+if(${LIBCLOUDPROVIDERS_LIBRARY_REALPATH} MATCHES "\\.([0-9]*)\\.([0-9]*)\\.([0-9]*)$")
if ((${CMAKE_MATCH_1} EQUAL 0) AND (${CMAKE_MATCH_2} LESS 3))
message("libcloudproviders version is older than 0.3.0, not enabling it")
set(LIBCLOUDPROVIDERS_LIBRARY "")