-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: fix cmake build with ninja (#8835)
$ 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
1 parent
eabad37
commit 5218f1f
Showing
1 changed file
with
20 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters