Export headers as system includes (#340)

Gcc doesn't apply warning to system includes paths. This change
allows a project to use high warning levels without getting swamped by ETL
issues.
This commit is contained in:
Adam Boseley 2021-02-28 20:53:02 +10:00 committed by GitHub
parent 090494b970
commit 47102c7a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ option(NO_STL "No STL" OFF)
add_library(etl INTERFACE)
target_include_directories(etl INTERFACE include)
target_include_directories(etl SYSTEM INTERFACE include)
target_compile_definitions(etl INTERFACE)