A few parameters (like “${PROJECT_SOURCE_DIR}/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 semicolons.
A few parameters (like “${PROJECT_SOURCE_DIR}/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 semicolons.
I would recommend to apply advices from a wiki article.
ok I will wait for a pull request from somebody
How will this issue influence other update suggestions for affected software build scripts?
How does your suggestions work when CMake 2.8 is used?
The enclosing of variable data by quotation marks is relevant for all scripts in the programming language “CMake” if you would like to care for the safe handling of semicolons.