Skip to content

Commit

Permalink
Explicitly set CMAKE_GENERATOR
Browse files Browse the repository at this point in the history
CMake based builds for reference decoder follow the schema:
cmake <bla> && $(MAKE) -C build
This only works for 'Unix Makefile' generator. This breaks if the user
has set CMAKE_GENERATOR by default to something different, e.g. Ninja.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
  • Loading branch information
tq-steina committed Feb 28, 2024
1 parent 113299e commit 622da83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ FLUSTER+=--no-emoji
else
KERNEL_NAME=$(shell uname -s)
endif
CMAKE_GENERATOR=Unix Makefiles

help:
@awk -F ':|##' '/^[^\t].+?:.*?##/ { printf "\033[36m%-30s\033[0m %s\n", $$1, $$NF }' $(MAKEFILE_LIST)
Expand Down

0 comments on commit 622da83

Please sign in to comment.