0

I only want to disable unused variable warnings from BGL, and keep such warnings for my own code. I have read similar answers suggesting include boost as system header, but I don't know how to do that in CMake...

TemplateRex
  • 69,038
  • 19
  • 164
  • 304
LittleSweet
  • 534
  • 2
  • 6
  • 9

1 Answers1

0

If your compiler supports the pragma disable warning #number then you can surround the BGL code with pragma disable ... and pragma enable ...

ravenspoint
  • 19,093
  • 6
  • 57
  • 103