tvm/Libbacktrace.cmake at main · apache/tvm · GitHub
github.com › main › cmakeThis leads to configuration errors in libbacktrace # because it can't find system libraries. Our solution is to detect if CMAKE_C_COMPILER lives in # /Library or /Applications and switch to the default compiler instead. include (ExternalProject) if (CMAKE_SYSTEM_NAME MATCHES "Darwin" AND (CMAKE_C_COMPILER MATCHES "^/Library"
FindBacktrace — CMake 3.23.0-rc2 Documentation
cmake.org › cmake › helpFindBacktrace — CMake 3.23.0-rc2 Documentation FindBacktrace ¶ Find provider for backtrace (3). Checks if OS supports backtrace (3) via either libc or custom library. This module defines the following variables: Backtrace_HEADER The header file needed for backtrace (3). Cached. Could be forcibly set by user. Backtrace_INCLUDE_DIRS