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

regex replace fails in top-level CMakeLists.txt #3

Open
thorbenk opened this issue Oct 14, 2013 · 0 comments
Open

regex replace fails in top-level CMakeLists.txt #3

thorbenk opened this issue Oct 14, 2013 · 0 comments

Comments

@thorbenk
Copy link
Contributor

When configuring the project, I get the following error (machine: angrybird)

CMake Error at CMakeLists.txt:54 (STRING):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.

The offending line is:

STRING(REGEX REPLACE "Studio " "" VISUAL_STUDIO_VERSION ${VISUAL_STUDIO_VERSION})

cmake: 2.8.12

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