Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Conversation

@Quincunx271
Copy link

Fixes #105. For some reason, "${CMAKE_INCLUDE_SYSTEM_FLAG_${_language}}" expands to "-isystem " (with a trailing space). This caused problems where the compiler got a single argument as -isystem /path/to/include/dir and somehow didn't understand it properly (note that that's normally two arguments). This change removes that space, so you get -isystem/path/to/include/dir

I'm not sure if it's possible to get a relative include path, but in that case, this might not work. It might require passing two separate arguments to the compiler: -isystem and relative/include/path

@Quincunx271
Copy link
Author

It looks like this might be a duplicate of #134

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant