Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

CMake build instructions do not work for paths with ampersand #597

@FHof

Description

@FHof

When I clone glog into a folder which has an ampersand in its absolute path, the compilation fails:

~/Downloads/before&after_ampersand/glog$ LC_ALL=C cmake --build build
[  4%] Copying find modules...
/bin/sh: 1: after_ampersand/glog/build/share/glog/cmake: not found
make[2]: *** [CMakeFiles/glog.dir/build.make:62: share/glog/cmake/FindUnwind.cmake] Error 127
make[1]: *** [CMakeFiles/Makefile2:1084: CMakeFiles/glog.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

How to reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions