The Android NDK uses Ninja for builds, which fails with the following error:
ninja: error: build.ninja:1750: bad $-escape (literal $ must be written as $$)
The offending lines of CMakeLists.txt are:
|
add_custom_target(debuggable $(MAKE) clean |
|
add_custom_target(releasable $(MAKE) clean |
Replacing
$(MAKE) with
${CMAKE_MAKE_PROGRAM} in both lines fixes the issue.
Related issue: #210 - the problem was discussed but never fixed.
The Android NDK uses Ninja for builds, which fails with the following error:
The offending lines of CMakeLists.txt are:
yaml-cpp/CMakeLists.txt
Line 182 in 774f258
yaml-cpp/CMakeLists.txt
Line 186 in 774f258
Replacing
$(MAKE)with${CMAKE_MAKE_PROGRAM}in both lines fixes the issue.Related issue: #210 - the problem was discussed but never fixed.