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/version.cmake | |
parent | Merge pull request #2496 (diff) | |
download | monero-0a70ba2c01b2e417bb8667f56a88dde044565c1a.tar.xz |
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/version.cmake')
0 files changed, 0 insertions, 0 deletions