From 3ff742a08f1b180c416696a181fc320af8ccd228 Mon Sep 17 00:00:00 2001 From: Franck Dary <franck.dary@lis-lab.fr> Date: Mon, 29 Jul 2019 15:01:26 +0200 Subject: [PATCH] Added include from libraries as SYSTEM to supress their warnings --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea53bb9..6c02b85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,8 +10,8 @@ find_package(Boost 1.53.0 REQUIRED COMPONENTS program_options) find_package(fasttext REQUIRED) find_package(Doxygen REQUIRED) -include_directories(${DYNET_INCLUDE_DIR}) -include_directories(${FASTTEXT_INCLUDE_DIR}) +include_directories(SYSTEM ${DYNET_INCLUDE_DIR}) +include_directories(SYSTEM ${FASTTEXT_INCLUDE_DIR}) add_library(Boost SHARED IMPORTED) set_target_properties(Boost PROPERTIES IMPORTED_LOCATION ${Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE}) -- GitLab