mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 22:36:59 -05:00
Mark library include dirs as SYSTEM.
Compilers will suppress warnings from files in those directories.
This commit is contained in:
parent
7865f5eee9
commit
79b6ff99e4
@ -152,7 +152,7 @@ if(NOT ZLIB_SUPPORTS_GZIP)
|
|||||||
message(FATAL_ERROR "zlib 1.2.x or higher is required to use the gzip format")
|
message(FATAL_ERROR "zlib 1.2.x or higher is required to use the gzip format")
|
||||||
endif(NOT ZLIB_SUPPORTS_GZIP)
|
endif(NOT ZLIB_SUPPORTS_GZIP)
|
||||||
|
|
||||||
include_directories(${QT_INCLUDE_DIR} ${GCRYPT_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
include_directories(SYSTEM ${QT_INCLUDE_DIR} ${GCRYPT_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR})
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(share)
|
add_subdirectory(share)
|
||||||
|
@ -17,14 +17,7 @@
|
|||||||
|
|
||||||
#include "Endian.h"
|
#include "Endian.h"
|
||||||
|
|
||||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 3))
|
|
||||||
#pragma GCC push_options
|
|
||||||
#pragma GCC diagnostic ignored "-Wold-style-cast"
|
|
||||||
#endif
|
|
||||||
#include <QtCore/QtEndian>
|
#include <QtCore/QtEndian>
|
||||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ > 3))
|
|
||||||
#pragma GCC pop_options
|
|
||||||
#endif
|
|
||||||
#include <QtCore/QIODevice>
|
#include <QtCore/QIODevice>
|
||||||
|
|
||||||
namespace Endian {
|
namespace Endian {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user