mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 03:27:24 +02:00
quiet compiler when building with clang on Linux
This commit is contained in:
parent
78a8e8e500
commit
79b5882c73
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
// Work around for a bug in the MSVC compiler that chokes when you use GLI and Qt headers together.
|
// Work around for a bug in the MSVC compiler that chokes when you use GLI and Qt headers together.
|
||||||
#define gli glm
|
#define gli glm
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#if defined(__clang__)
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wunused-variable"
|
#pragma clang diagnostic ignored "-Wunused-variable"
|
||||||
#pragma clang diagnostic ignored "-Wignored-qualifiers"
|
#pragma clang diagnostic ignored "-Wignored-qualifiers"
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
|
|
||||||
#include <gli/gli.hpp>
|
#include <gli/gli.hpp>
|
||||||
|
|
||||||
#ifdef Q_OS_MAC
|
#if defined(__clang__)
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue