From e5811353c10ed89000c1be6ecda98bd206094909 Mon Sep 17 00:00:00 2001 From: Maksim Andrianov Date: Fri, 22 Jun 2018 11:52:18 +0300 Subject: [PATCH] Disabled warn in boost headers. (Include dir marked as system) --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)