Skip to content

Linking to a directory causes an error with cmake #166

Description

@mrexodia
[target.mylib]
type = "static"
sources = ["mylib/lib.cpp"]

[target.foo]
type = "executable"
sources = ["main.cpp"]
link-libraries = ["mylib"]

If $(pwd)/mylib is a directory cmkr generates ${CMAKE_CURRENT_SOURCE_DIR}/mylib and CMake (rightfully) errors out.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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