diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2018-04-10 11:13:57 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2018-04-10 11:13:57 +0200 |
commit | 6026fc80369ba588a10d6d1abe1767e379a5b97b (patch) | |
tree | d69049836dbc1d189b27bdb2f5d5d173d634b6e3 /cmake | |
parent | 2cc5b5865c9e6f24bb7ab686fd6595ba3a231f92 (diff) | |
download | libssh-6026fc80369ba588a10d6d1abe1767e379a5b97b.tar.gz libssh-6026fc80369ba588a10d6d1abe1767e379a5b97b.tar.xz libssh-6026fc80369ba588a10d6d1abe1767e379a5b97b.zip |
cmake: Fix libfuzzer linking with clang6
This is always available using -fsanitize=fuzzer now.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/FindClangFuzzer.cmake | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/cmake/Modules/FindClangFuzzer.cmake b/cmake/Modules/FindClangFuzzer.cmake deleted file mode 100644 index 55dbf734..00000000 --- a/cmake/Modules/FindClangFuzzer.cmake +++ /dev/null @@ -1,32 +0,0 @@ -# - Try to find Fuzzer -# Once done this will define -# -# CLANG_FUZZER_FOUND - system has Fuzzer -# CLANG_FUZZER_LIBRARY - Link these to use Fuzzer -# -#============================================================================= -# Copyright (c) 2018 Andreas Schneider <asn@cryptomilk.org> -# -# Distributed under the OSI-approved BSD License (the "License"); -# see accompanying file Copyright.txt for details. -# -# This software is distributed WITHOUT ANY WARRANTY; without even the -# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -# See the License for more information. -#============================================================================= -# - -find_package(Clang REQUIRED CONFIG) - -find_library(CLANG_FUZZER_LIBRARY - NAMES - Fuzzer - HINTS - ${LLVM_LIBRARY_DIR}/clang/${LLVM_PACKAGE_VERSION}/lib -) - -include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(Fuzzer DEFAULT_MSG CLANG_FUZZER_LIBRARY) - -# show the CLANG_FUZZER_LIBRARY variables only in the advanced view -mark_as_advanced(CLANG_FUZZER_LIBRARY) |