Override system include flag when necessary #666
Labels
documentation
Issues related to documentation
feature
question
User Request
Related to user requests
@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.
The text was updated successfully, but these errors were encountered: