From 0bdbdbf5172ea0a7246396269b2d77a0aa740543 Mon Sep 17 00:00:00 2001 From: Eric Noulard Date: Wed, 15 Nov 2017 14:30:05 +0100 Subject: [PATCH] Fix reference to sanitizer_add_blacklist_file in README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 54a8255..8df8d17 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,11 @@ Even C only targets may cause problems in certain situations. Some problems have ## Build targets with sanitizer support -To enable sanitizer support you simply have to add ``add_sanitizers()`` after defining your target. To provide a sanitizer blacklist file you can use the ``add_sanitizer_blacklist()`` function: +To enable sanitizer support you simply have to add ``add_sanitizers()`` after defining your target. To provide a sanitizer blacklist file you can use the ``sanitizer_add_blacklist_file()`` function: ```CMake find_package(Sanitizers) -add_sanitizer_blacklist("blacklist.txt") +sanitizer_add_blacklist_file("blacklist.txt") add_executable(some_exe foo.c bar.c) add_sanitizers(some_exe)