Lewuathe/mlir-hello
thirdparty/llvm-project/compiler-rt/lib/fuzzer/CMakeLists.txt
:67
elseif(TARGET cxx-headers OR HAVE_LIBCXX)
elseif(TARGET cxx-headers OR HAVE_LIBCXX)
option (USE_LIBCXX "Use libc++ and libc++abi instead of libstdc++ (only make sense on Linux with Clang)" ${HAVE_LIBCXX})
check_cxx_source_compiles("
#include <iostream>
int main() {
std::cerr << std::endl;
return 0;
}
" HAVE_LIBCXX)
check_cxx_symbol_exists(_LIBCPP_VERSION "version" HAVE_LIBCXX)
elseif(HAVE_LIBCXX)
elseif(TARGET cxx-headers OR HAVE_LIBCXX)