diff options
author | Maksim Andrianov <maksimandrianov1@gmail.com> | 2018-06-22 11:52:18 +0300 |
---|---|---|
committer | Maksim Andrianov <maksimandrianov1@gmail.com> | 2018-06-25 17:58:38 +0300 |
commit | e5811353c10ed89000c1be6ecda98bd206094909 (patch) | |
tree | 3ff294bdeb5360a376d76d206e6de5d7dce7aefb /CMakeLists.txt | |
parent | b41b621bce0eae7744d1b9cad634bdf1a28eead2 (diff) |
Disabled warn in boost headers. (Include dir marked as system)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b697ce263e..9c34da3977 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,9 +203,10 @@ include_directories( ${CMAKE_HOME_DIRECTORY} ${Qt5Core_INCLUDE_DIRS} ${Qt5Network_INCLUDE_DIRS} - ${Boost_INCLUDE_DIRS} ) +include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) + set(CMAKE_POSITION_INDEPENDENT_CODE ON) if (USE_ASAN) |