Debian Codegraph @

cmake/FindLibRustcDemangle.cmake

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