Skip to content

Fail install of LICENSE file when subproject #40

Description

@EddyTheCo

When installing the library as a CMake subproject it gives

CMake Error at build-target/_deps/gdbuscpp-build/cmake_install.cmake:92 (file):
  file INSTALL cannot find "/var/tmp/rcc-wh/GWapplication/LICENSE": No such
  file or directory.
Call Stack (most recent call first):
  build-target/lib/cmake_install.cmake:47 (include)
  build-target/cmake_install.cmake:47 (include)

It seems that the current source dir should be used instead in

FILES ${CMAKE_SOURCE_DIR}/LICENSE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions