Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake/clang.cmake REGEX command on Debian 10 #5

Open
zheka8 opened this issue Feb 8, 2021 · 0 comments
Open

cmake/clang.cmake REGEX command on Debian 10 #5

zheka8 opened this issue Feb 8, 2021 · 0 comments

Comments

@zheka8
Copy link

zheka8 commented Feb 8, 2021

When running ./020_build_vc4c.sh on Raspberry Pi 3B+ running Debian Buster the following error occurs:

 CMake Error at cmake/clang.cmake:23 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:121 (include)

Solution is to inclose the last parameter of REGEX in cmake/clang.cmake:23 in quotes:

string (REGEX REPLACE ".*clang version ([0-9]+\\.[0-9]+).*" "\\1" CLANG_VERSION_STRING "${clang_full_version_string}")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant