Skip to contentSkip to conversation

New: CMAKE_GENERATOR environment variable makes CMake based builds fail

Buildroot bugzilla at busybox.net 1 participant 3 messages Oct 8, 2020 – Jun 15, 2024

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=13256

Bug ID: 13256
Summary: CMAKE_GENERATOR environment variable makes CMake based
builds fail
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: sven.fischer at effeffcee.de
CC: buildroot at uclibc.org
Target Milestone: ---

If the CMAKE_GENERATOR environment variable is set to e.g. Ninja, CMake based build will fail because CMake generates Ninja build files instead of Makefiles.

To fix this use either

a) explicitly set -G"Unix Makefiles" in package/pkg-cmake.mk
b) (better) use "cmake --build ." instead of make

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 13256] CMAKE_GENERATOR environment variable makes CMake based builds fail

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=13256

Yann E. MORIN <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]

--- Comment #2 from Yann E. MORIN <[email protected]> --- Thank you for your report.

The issue tracker for the Buildroot project has been moved to the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues

We are taking this opportunity to close old issues in this old tracker. If you believe your issue is still relevant, please open one in the new issue tracker.

Thank you!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot