OpenHEVC/openHEVC

Complete quoting for parameters of some CMake commands

Closed this issue · 1 comments

Some parameters (like "${CMAKE_CURRENT_SOURCE_DIR}" and "${SDL_INCLUDE_DIR}") 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.

The plan is to refactor the cmake_list we were just discussing it just before receiving your email.
__
Mickaël

Le 19 févr. 2014 à 14:54, Markus Elfring notifications@github.com a écrit :

Some parameters (like "${CMAKE_CURRENT_SOURCE_DIR}" and "${SDL_INCLUDE_DIR}") 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.


Reply to this email directly or view it on GitHub.