CMake target_include_directories(SYSTEM …): SYSTEM option does not seem to work on recent versions of CMake targeting Xcode

前端 未结 1 1235
暗喜
暗喜 2021-01-20 01:01

We are building an application depending on Boost, and compilation generates a lot of warning \"Class member cannot be redeclared\" in a Boost header (tag_of.hpp).<

1条回答
  •  走了就别回头了
    2021-01-20 01:18

    This issue looks to only occur for the XCode generator, as CMake believes it doesn't support the isystem flag. I would think the best solution is to report this issue on CMake bug tracker.

    0 讨论(0)
提交回复
热议问题