Skip to content

Incorrect Boost::headers.INTERFACE_INCLUDE_DIRECTORIES #167

Closed

Description

@hebasto

When using the installed boost package with CMake, the following CMakeLists.txt:

cmake_minimum_required(VERSION 3.31)
project(BoostCMakeIncludesBug)
find_package(Boost REQUIRED CONFIG)
include(CMakePrintHelpers)
cmake_print_properties(TARGETS Boost::headers
  PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
)

reveals that the INTERFACE_INCLUDE_DIRECTORIES property of the Boost::headers is set to "/usr". This is clearly incorrect and makes it impossible to use this package in CMake-based projects.

Activity

  1. added a commit that references this issue on Jul 2, 2025
  2. added a commit that references this issue on Aug 31, 2025
  3. added a commit that references this issue on Nov 10, 2025
  4. added a commit that references this issue on Nov 25, 2025
  5. added a commit that references this issue on Dec 4, 2025
  6. hebasto commented on Feb 11, 2026

    @hebasto
    Author

    Fixed in 009aa21.

  7. added a commit that references this issue on Mar 19, 2026
  8. 75 remaining items

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