Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMakeLists.txt: fix build with ninja
$ cmake -GNinja -B build/ && cmake --build build/ Results in this error: ninja: error: build.ninja:158: bad $-escape (literal $ must be written as $$) Replacing the $(MAKE) command with make gives us this new error: ninja: error: 'backtrace-prefix/lib/libbacktrace.a', needed by 'bin/fluent-bit', missing and no known rule to make it So fix that by properly defining the BUILD_BYPRODUCTS. (Also see https://cmake.org/cmake/help/latest/module/ExternalProject.html#build-step-options) Signed-off-by: Thomas Devoogdt <[email protected]>
- Loading branch information