Use target properties (Mainly target COMPILE_OPTIONS).
Properties can also be set at directory level (see directory COMPILE_OPTIONS).
Use target properties (Mainly target COMPILE_OPTIONS).
Properties can also be set at directory level (see directory COMPILE_OPTIONS).