Skip to content

Installation of the header file tlog.h in cmake #12

@hug567

Description

@hug567

In CMakeLists.txt,with install cmd:

install(FILES tlog.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/tlog.h)

will install tlog.h to:/usr/include/tlog.h/tlog.h,is this expected behavior?

If you just want to install tlog.h to /usr/incldue, it should be like this:

install(FILES tlog.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions