Skip to content

cmake -LH needs source dir specified #182

@wermos

Description

@wermos

In the README, there is a section that takes about running cmake -LH | grep "BEMAN_INDICES_VIEW" -C 2.

I tried running that on my local machine and I got this warning:

CMake Warning:
  No source or binary directory provided.  Both will be assumed to be the
  same as the current working directory, but note that this warning will
  become a fatal error in future CMake releases.

Running cmake -LH -S . | grep "BEMAN_INDICES_VIEW" -C 2 (note the added -S . flag to the CMake command fixes the issue.

My CMake version is 4.0.2, and I am on Ubuntu 24.10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions