diff --git a/conan.cmake b/conan.cmake index 789f47e4..b97afa69 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}, \