Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
BGL からの未使用の変数の警告のみを無効にし、そのような警告を独自のコードに保持したいだけです。システムヘッダーとしてブーストを含めることを示唆する同様の回答を読みましたが、CMakeでそれを行う方法がわかりません...
コンパイラが pragma disable warning #number をサポートしている場合、BGL コードを pragma disable ... および pragma enable ... で囲むことができます。