mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 08:08:24 -05:00
9081e73104
CPS names look like `[package]:component`, which needs to get mangled into `package::component` to match CMake's convention. This was implemented correctly for fully qualified component requirements, but relative names were not being properly mangled. Adjust handling of relative names to correctly translate from CPS to CMake convention.
8 lines
125 B
C++
8 lines
125 B
C++
#ifndef ANSWER
|
|
# error ANSWER is not defined
|
|
#else
|
|
# if ANSWER != 42
|
|
# error ANSWER has the wrong value
|
|
# endif
|
|
#endif
|