Skip to content

Complete quoting for parameters of some CMake commands #8

@elfring

Description

@elfring

Some parameters (like "${PROJECT_SOURCE_DIR}/cmake/modules" and "${CMAKE_CURRENT_BINARY_DIR}/usbproxy.pc") 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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions