summaryrefslogtreecommitdiff
path: root/fuzzers
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-13 10:50:13 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-05-19 11:10:09 +0100
commitd3a440ca19b060ed69fcb7bb08d2d0fad9a4559d (patch)
tree37d565dcf8a9ef956db16da89ef2224c2a32de99 /fuzzers
parent02683b20c0775dab28d72727cc97a96ec77cb20c (diff)
downloadlibgit2-d3a440ca19b060ed69fcb7bb08d2d0fad9a4559d.tar.gz
fuzzers: use system includes
Use the system includes (defined by libgit2) as the fuzzer includes. The fuzzers link against internal libgit2 API and therefore need to have the full include path that libgit2 uses.
Diffstat (limited to 'fuzzers')
-rw-r--r--fuzzers/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzzers/CMakeLists.txt b/fuzzers/CMakeLists.txt
index ea0612322..1c03aa980 100644
--- a/fuzzers/CMakeLists.txt
+++ b/fuzzers/CMakeLists.txt
@@ -1,5 +1,6 @@
LINK_DIRECTORIES(${LIBGIT2_LIBDIRS})
INCLUDE_DIRECTORIES(${LIBGIT2_INCLUDES})
+INCLUDE_DIRECTORIES(SYSTEM ${LIBGIT2_SYSTEM_INCLUDES})
IF(BUILD_FUZZERS AND NOT USE_STANDALONE_FUZZERS)
ADD_C_FLAG(-fsanitize=fuzzer)