HEX
Server: LiteSpeed
System: Linux sarajevo.maychu.cloud 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
User: inqua407 (1189)
PHP: 8.3.17
Disabled: exec,execl,system,passthru,shell_exec,escapeshellarg,escapeshellcmd,proc_close,ini_alter,proc_open,dl,popen,show_source,posix_getpwuid,getpwuid,posix_geteuid,posix_getegid,posix_getgrgid,open_basedir,safe_mode_include_dir,pcntl_exec,pcntl_fork,proc_get_status,proc_nice,proc_terminate,pclose,virtual,openlog,popen,pclose,virtual,openlog,escapeshellcmd,escapeshellarg,dl,show_source,symlink,mail
Upload Files
File: //lib64/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()