diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindLibcloudproviders.cmake | 2 |
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 "") |