blob: c247e164f563339a2c721afd724e3bd6e641af70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
if (LIBRUSTC_DEMANGLE_LIBRARIES)
set (LibRustcDemangle_FIND_QUIETLY TRUE)
endif()
find_library(LIBRUSTC_DEMANGLE_LIBRARIES
NAMES
rustc_demangle
PATHS
/usr/lib
/usr/local/lib
/opt/local/lib
/sw/lib
ENV LIBRARY_PATH
ENV LD_LIBRARY_PATH)
include (FindPackageHandleStandardArgs)
# handle the QUIETLY and REQUIRED arguments and set LIBRUSTC_DEMANGLE_FOUND to TRUE if all listed variables are TRUE
find_package_handle_standard_args(LibRustcDemangle DEFAULT_MSG
LIBRUSTC_DEMANGLE_LIBRARIES)
mark_as_advanced(LIBRUSTC_DEMANGLE_LIBRARIES)
|