Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/self/root/lib64/cmake/llvm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/lib64/cmake/llvm/LLVMCheckLinkerFlag.cmake
include(CheckLinkerFlag OPTIONAL)

if (COMMAND check_linker_flag)
  macro(llvm_check_linker_flag)
    check_linker_flag(${ARGN})
  endmacro()
else()
  # Until the minimum CMAKE version is 3.18

  include(CheckCXXCompilerFlag)

  # cmake builtin compatible, except we assume lang is C or CXX
  function(llvm_check_linker_flag lang flag out_var)
    cmake_policy(PUSH)
    cmake_policy(SET CMP0056 NEW)
    set(_CMAKE_EXE_LINKER_FLAGS_SAVE ${CMAKE_EXE_LINKER_FLAGS})
    set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} ${flag}")
    if("${lang}" STREQUAL "C")
      check_c_compiler_flag("" ${out_var})
    elseif("${lang}" STREQUAL "CXX")
      check_cxx_compiler_flag("" ${out_var})
    else()
      message(FATAL_ERROR "\"${lang}\" is not C or CXX")
    endif()
    set(CMAKE_EXE_LINKER_FLAGS ${_CMAKE_EXE_LINKER_FLAGS_SAVE})
    cmake_policy(POP)
  endfunction()
endif()

Hry