Skip to content

Incomplete public header set #578

Description

@jengelh

Version: 2025.01

As per CMakeLists.txt, cmake installs some header files

  set(PUBLIC_HEADER_ISOBUSFS
    isobusfs/isobusfs_cmn.h
    isobusfs/isobusfs_cmn_cm.h
  )

  set_target_properties(isobusfs PROPERTIES
    PUBLIC_HEADER "${PUBLIC_HEADER_ISOBUSFS}"
  )

but these are useless in practice because they depend on other, uninstalled, files:

In file included from x.cpp:1:
/usr/include/isobusfs_cmn.h:13:10: fatal error: ../libj1939.h: No such file or directory
   13 | #include "../libj1939.h"
      |          ^~~~~~~~~~~~~~~

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