From 6067fd6f2758f1e904a8b1c08231ed8eb045deed Mon Sep 17 00:00:00 2001 From: Mustafa Kemal GILOR Date: Wed, 3 Jun 2020 13:34:35 +0300 Subject: [PATCH] fixed conan_check VERSION cmake regex backslash escape issue, #246 --- conan.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conan.cmake b/conan.cmake index 6425a9fd..3d41e8b8 100644 --- a/conan.cmake +++ b/conan.cmake @@ -537,7 +537,7 @@ macro(conan_check) message(STATUS "Conan: Version found ${CONAN_VERSION_OUTPUT}") if(DEFINED CONAN_VERSION) - string(REGEX MATCH ".*Conan version ([0-9]+\.[0-9]+\.[0-9]+)" FOO + string(REGEX MATCH ".*Conan version ([0-9]+\\.[0-9]+\\.[0-9]+)" FOO "${CONAN_VERSION_OUTPUT}") if(${CMAKE_MATCH_1} VERSION_LESS ${CONAN_VERSION}) message(FATAL_ERROR "Conan outdated. Installed: ${CMAKE_MATCH_1}, \