Skip to content

Complete quoting for parameters of some CMake commands #7

@elfring

Description

@elfring

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions