Mark library include dirs as SYSTEM.

Compilers will suppress warnings from files in those directories.
This commit is contained in:
Felix Geyer 2012-04-26 12:18:38 +02:00
parent 7865f5eee9
commit 79b6ff99e4
2 changed files with 1 additions and 8 deletions

View file

@ -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")
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(share)