From bbe68505981c448c7b81e1ad98fc038ef19d0c17 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 17 Oct 2016 07:11:34 +0300 Subject: fix compiler warnings --- cxx/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cxx') diff --git a/cxx/CMakeLists.txt b/cxx/CMakeLists.txt index 9dddb5c..d54caae 100644 --- a/cxx/CMakeLists.txt +++ b/cxx/CMakeLists.txt @@ -1,7 +1,8 @@ find_package(Boost REQUIRED) add_library(libaesxx INTERFACE) -target_include_directories(libaesxx INTERFACE include/ ${Boost_INCLUDE_DIRS}) +target_include_directories(libaesxx INTERFACE include/) +target_include_directories(libaesxx SYSTEM INTERFACE ${Boost_INCLUDE_DIRS}) target_link_libraries(libaesxx INTERFACE libaes) if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX) -- cgit v1.2.3