summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/scudo/standalone/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/scudo/standalone/CMakeLists.txt b/compiler-rt/lib/scudo/standalone/CMakeLists.txt
index 6b3532b9d6b..920034b3577 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(../..)
OpenPOWER on IntegriCloud