Skip to content

Commit

Permalink
Fixed the Us4R version regex pattern.
Browse files Browse the repository at this point in the history
  • Loading branch information
pjarosik committed Jan 12, 2022
1 parent 84449f2 commit f0c03b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindUs4.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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}
)
Expand Down

0 comments on commit f0c03b9

Please sign in to comment.