diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-10-15 18:58:31 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-10-15 18:58:31 +0200 |
commit | 845afb519161b61ccbc0d007679c0ee0e2f969ae (patch) | |
tree | 01dc1d8272de06fdfa69156ace2aa15e6c121f90 /contrib | |
parent | Merge pull request #2610 (diff) | |
parent | cmake: build tests last (diff) | |
download | monero-845afb519161b61ccbc0d007679c0ee0e2f969ae.tar.xz |
Merge pull request #2613
2051f89f cmake: build tests last (redfish)
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index 7bd411aed..e7c501ed2 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -26,5 +26,10 @@ # STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF # THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# warnings are cleared only for GCC on Linux +if (NOT (MINGW OR APPLE OR FREEBSD OR OPENBSD OR DRAGONFLY)) + add_compile_options("${WARNINGS_AS_ERRORS_FLAG}") # applies only to targets that follow +endif() + add_subdirectory(epee) |