Skip to content

Override system include flag when necessary #666

Open
@kennyweiss

Description

@tomstitt noticed that CMake was not properly using isystem for system includes with the XL compiler and discovered that this can be overridden via the CMake variable: CMAKE_INCLUDE_SYSTEM_FLAG_CXX

e.g.

-DCMAKE_INCLUDE_SYSTEM_FLAG_CXX="-isystem"

Should BLT incorporate this?
At the very least, we might consider noting this in our user/API docs.

Note: This could potentially also be helpful for versions of MSVC that do not properly set its corresponding system include flag.

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions