-
Notifications
You must be signed in to change notification settings - Fork 375
Using special characters in the package name makes it hard to use with CMake #482
Copy link
Copy link
Open
Description
Bug category
- [x ] bug - compilation error
- bug - compilation warning
- bug - runtime error
- bug - runtime warning
- bug - logic error
Describe the bug
For installation in custom directories, Matplot++_DIR or Matplot++_ROOT environment variable must be defined, pointing to the Matplot++ cmake configuration files location. But, at least on linux, special characters over than _ are not allowed in shell variable names.
Steps to Reproduce
in .bashrc (for instance)
export Matplot++_ROOT="path"Output
bash: export : "Matplot++_ROOT="path"" identifier is not validPlatform
- [x ] cross-platform issue - linux
- [?] cross-platform issue - windows
- [?] cross-platform issue - macos
Additional context
Other processing task can be made difficult as when using the package name as string, it is sometime needed to add logic in order to escape the special characters.
It may be fixable through Matplot++ creating also an alias Matplotpp target and configuration files.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels