MMCT TEAM
Server IP : 2a02:4780:3:2287:0:3736:a38e:8  /  Your IP : 216.73.217.73
Web Server : LiteSpeed
System : Linux sg-nme-web2187.main-hosting.eu 5.14.0-611.38.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 10 17:21:28 EDT 2026 x86_64
User : u926327694 ( 926327694)
PHP Version : 7.4.33
Disable Function : system, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /../lib64/perl5/../bfd-plugins/../wireshark/cmake/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //../lib64/perl5/../bfd-plugins/../wireshark/cmake/FindWSLibrary.cmake
#
# - Find WS Library
#  This function is a wrapper for find_library() that does handle vcpkg exported
#  library directory structure

function(FindWSLibrary OUTPUT_LIBRARY)
    cmake_parse_arguments(
        WS_LIB
        ""
        "WIN32_HINTS"
        "NAMES;HINTS;PATHS"
        ${ARGN}
    )

    if (WIN32)
        find_library(${OUTPUT_LIBRARY}_DEBUG
            NAMES ${WS_LIB_NAMES}
            HINTS "${WS_LIB_WIN32_HINTS}/debug/lib"
            PATHS ${WS_LIB_PATHS}
        )
        find_library(${OUTPUT_LIBRARY}_RELEASE
            NAMES ${WS_LIB_NAMES}
            HINTS "${WS_LIB_WIN32_HINTS}/lib"
            PATHS ${WS_LIB_PATHS}
        )

        if (${OUTPUT_LIBRARY}_DEBUG AND ${OUTPUT_LIBRARY}_RELEASE)
            set(${OUTPUT_LIBRARY} debug ${${OUTPUT_LIBRARY}_DEBUG} optimized ${${OUTPUT_LIBRARY}_RELEASE} PARENT_SCOPE)
        endif()
    else()
        find_library(${OUTPUT_LIBRARY}
            NAMES ${WS_LIB_NAMES}
            HINTS ${WS_LIB_HINTS}
            PATHS ${WS_LIB_PATHS}
        )
    endif()
endfunction()

MMCT - 2023