Skip to content
Snippets Groups Projects
Commit 3ff742a0 authored by Franck Dary's avatar Franck Dary
Browse files

Added include from libraries as SYSTEM to supress their warnings

parent 62ffcf0a
No related branches found
No related tags found
No related merge requests found
...@@ -10,8 +10,8 @@ find_package(Boost 1.53.0 REQUIRED COMPONENTS program_options) ...@@ -10,8 +10,8 @@ find_package(Boost 1.53.0 REQUIRED COMPONENTS program_options)
find_package(fasttext REQUIRED) find_package(fasttext REQUIRED)
find_package(Doxygen REQUIRED) find_package(Doxygen REQUIRED)
include_directories(${DYNET_INCLUDE_DIR}) include_directories(SYSTEM ${DYNET_INCLUDE_DIR})
include_directories(${FASTTEXT_INCLUDE_DIR}) include_directories(SYSTEM ${FASTTEXT_INCLUDE_DIR})
add_library(Boost SHARED IMPORTED) add_library(Boost SHARED IMPORTED)
set_target_properties(Boost PROPERTIES IMPORTED_LOCATION ${Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE}) set_target_properties(Boost PROPERTIES IMPORTED_LOCATION ${Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment