From f0c03b933efbfbc818de319c9fb81d69ce83729d Mon Sep 17 00:00:00 2001 From: Piotr Jarosik Date: Wed, 12 Jan 2022 18:29:23 +0100 Subject: [PATCH] Fixed the Us4R version regex pattern. --- cmake/FindUs4.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindUs4.cmake b/cmake/FindUs4.cmake index 26cd2f804..c11f83f4f 100644 --- a/cmake/FindUs4.cmake +++ b/cmake/FindUs4.cmake @@ -47,7 +47,7 @@ find_library(Us4_Us4RDBAR_LIBRARY file(READ "${Us4_ROOT_DIR}/include/versions.h" Us4OEM_VERSIONS) # API version -string(REGEX MATCH "US4R_API_VERSION[ ]+([0-9]\\.[0-9]\\.[0-9])" +string(REGEX MATCH "US4R_API_VERSION[ ]+([0-9]+\\.[0-9]+\\.[0-9]+)" US4API_VERSION_MATCH ${Us4OEM_VERSIONS} )