sithhell / oclm

An OpenCL C++ language binding
15 stars 5 forks source link

Complete quoting for parameters of some CMake commands #7

Open elfring opened 10 years ago

elfring commented 10 years ago

Some parameters (like "${OPENCL_INCLUDE_DIR}" and "${CMAKE_SOURCE_DIR}/src/context.cpp") 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.