← All tasks
cppjbeder/yaml-cpp #745Not a task: already works

CMake broken: "target pattern contains no `%'"

envgap__jbeder__yaml-cpp-745

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
62ff351432ebde809585bc2e48305bd5349e4b84
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

jbeder/yaml-cpp #745 · read the original issue
The recent [major changes to CMake](https://github.com/jbeder/yaml-cpp/pull/741) broke my build when using yaml-cpp as a submodule. I removed my shadow build directory and ran CMake from scratch.



No errors when running CMake, but when building I get this:



> extern/yaml-cpp/CMakeFiles/yaml-cpp.dir/build.make:458: *** target pattern contains no `%'.  Stop.



The line it's pointing at is this:



> extern/yaml-cpp/libyaml-cpp$<$<AND:$<NOT:$<BOOL:OFF>>,$<CONFIG:Debug>>:d>.a: extern/yaml-cpp/CMakeFiles/yaml-cpp.dir/src/binary.cpp.o



Are there changes I need to make to my own cmake files to use it now?



macOS 10.14.6

Apple clang version 11.0.0 (clang-1100.0.33.8)

cmake version 3.15.3

CMAKE_BUILD_TYPE: debug
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]