diff options
author | Chris Bieneman <chris.bieneman@me.com> | 2019-04-19 20:13:25 +0000 |
---|---|---|
committer | Chris Bieneman <chris.bieneman@me.com> | 2019-04-19 20:13:25 +0000 |
commit | 8cda64f39a4125acc661f274da9edb95eeadd287 (patch) | |
tree | db4df89d74744f306f1f6caab9576c594788f86b | |
parent | 54af5f78e8b76bef437e7af0e67c084eb834dc48 (diff) | |
download | compiler-rt-8cda64f39a4125acc661f274da9edb95eeadd287.tar.gz |
[CMake] Add fuzzer as a component for runtime builds
Calling `add_compiler_rt_component` sets up the component connection between runtime builds and the parent CMake configuration. Adding this call allows specifying `fuzzer` as a `LLVM_RUNTIME_DISTRIBUTION_COMPONENT`.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@358780 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/fuzzer/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fuzzer/CMakeLists.txt b/lib/fuzzer/CMakeLists.txt index aa62995e7..602f33297 100644 --- a/lib/fuzzer/CMakeLists.txt +++ b/lib/fuzzer/CMakeLists.txt @@ -84,6 +84,8 @@ endif() set(FUZZER_SUPPORTED_OS ${SANITIZER_COMMON_SUPPORTED_OS}) +add_compiler_rt_component(fuzzer) + add_compiler_rt_object_libraries(RTfuzzer OS ${FUZZER_SUPPORTED_OS} ARCHS ${FUZZER_SUPPORTED_ARCH} |