aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cxx/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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)