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

Complete quoting for parameters of some CMake commands #208

Open
elfring opened this issue Oct 2, 2013 · 1 comment · May be fixed by #1118
Open

Complete quoting for parameters of some CMake commands #208

elfring opened this issue Oct 2, 2013 · 1 comment · May be fixed by #1118
Labels

Comments

@elfring
Copy link

elfring commented Oct 2, 2013

Some parameters (like "${SOCI_SOURCE_DIR}/core" and "${CMAKE_INSTALL_PREFIX}/lib") are passed to CMake commands in your build scripts without enclosing them by quotation marks. I see that these places will result in build difficulties if the contents of the used variables will contain special characters like spaces.

I would recommend to apply advices from a Wiki article.

@Krzmbrzl
Copy link
Contributor

Krzmbrzl commented Feb 2, 2025

Paths should be consistently quoted once #1118 is merged.

@Krzmbrzl Krzmbrzl linked a pull request Feb 2, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants