From: Mitch Phillips <31459023+hctim@users.noreply.github.com> Date: Fri, 13 Dec 2019 18:55:53 +0000 (-0800) Subject: [NFC] Guard scudo_standalone's optional dependency on GWP-ASan behind flags. X-Git-Tag: llvmorg-11-init~2193 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6c445ea6907c7165ace0167327d557b0a786604;p=platform%2Fupstream%2Fllvm.git [NFC] Guard scudo_standalone's optional dependency on GWP-ASan behind flags. --- diff --git a/compiler-rt/lib/scudo/standalone/CMakeLists.txt b/compiler-rt/lib/scudo/standalone/CMakeLists.txt index 6b3532b..920034b 100644 --- a/compiler-rt/lib/scudo/standalone/CMakeLists.txt +++ b/compiler-rt/lib/scudo/standalone/CMakeLists.txt @@ -1,5 +1,7 @@ add_compiler_rt_component(scudo_standalone) -add_dependencies(scudo_standalone gwp_asan) +if (COMPILER_RT_HAS_GWP_ASAN) + add_dependencies(scudo_standalone gwp_asan) +endif() include_directories(../..)