mirror of
https://github.com/google/benchmark.git
synced 2024-12-27 13:00:36 +08:00
c45f01866b
* CMake: implement LTO for clang. Fixes #478 * LTO: add basic docs about required executables.
16 lines
339 B
CMake
16 lines
339 B
CMake
include(FeatureSummary)
|
|
|
|
find_program(LLVMRANLIB_EXECUTABLE
|
|
NAMES llvm-ranlib
|
|
DOC "The llvm-ranlib executable"
|
|
)
|
|
|
|
include(FindPackageHandleStandardArgs)
|
|
find_package_handle_standard_args(LLVMRanLib
|
|
DEFAULT_MSG
|
|
LLVMRANLIB_EXECUTABLE)
|
|
|
|
SET_PACKAGE_PROPERTIES(LLVMRanLib PROPERTIES
|
|
DESCRIPTION "generate index for LLVM archive"
|
|
)
|