Skip to content

Fix CMake invocation for CMake version 3.10 - #65

Merged
karypis merged 1 commit into
KarypisLab:masterfrom
Single750:fix_makefile
Nov 16, 2026
Merged

karypis merged 1 commit into
KarypisLab:masterfrom
Single750:fix_makefile

Conversation

@Single750

Copy link
Copy Markdown
Contributor

Description:
The Makefile uses -B "$(BUILDDIR)" which is only supported by CMake 3.13+.
The README states that CMake 3.10 is supported, so this is a bug.

Fix: remove the space between -B and the build directory path:

  • cmake "$(CURDIR)" -B "$(BUILDDIR)" $(CONFIG_FLAGS)
  • cmake "$(CURDIR)" -B"$(BUILDDIR)" $(CONFIG_FLAGS)

Tested on:

  • CMake 3.12.4 (works after fix, fails before)
  • CMake 4.2.3 (works both before and after)

…_dir>`, but it does support the combined notation `-B<build_dir>`.
@karypis
karypis merged commit a4aeab5 into KarypisLab:master Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants