diff options
| author | redfish <redfish@galactica.pw> | 2017-09-08 18:14:55 -0400 |
|---|---|---|
| committer | redfish <redfish@galactica.pw> | 2017-09-24 11:25:11 -0400 |
| commit | 0a70ba2c01b2e417bb8667f56a88dde044565c1a (patch) | |
| tree | deac3e7d2b97e2005e5f7881b3028aba87b1ce6a /src/debug_utilities | |
| parent | 1f9058187c76b60f26930410ed3c162846441e20 (diff) | |
| download | monzero-core-0a70ba2c01b2e417bb8667f56a88dde044565c1a.tar.gz monzero-core-0a70ba2c01b2e417bb8667f56a88dde044565c1a.tar.xz monzero-core-0a70ba2c01b2e417bb8667f56a88dde044565c1a.zip | |
cmake: fix setting of -Werror
Setting COMPILE_FLAGS (or COMPILE_OPTIONS) property directly does not
end up on the command line (even though it should because
add_compile_options does just that).
Also, set -Werror for tests as well, because no warnings now.
Not set for 'external' only because simply moving add_compile_options
above add_subdirectory(external) doesn't do it, and moving add_usbdirectory
down is too big of a change (it will pick up new flags).
-Werror set only for GCC on Linux, since warnings not yet
cleared for other compilers/systems.
Diffstat (limited to 'src/debug_utilities')
0 files changed, 0 insertions, 0 deletions
