Comment 1 for bug 1960334

Revision history for this message
Cristian Morales Vega (reddwarf) wrote :

FWIW the Fedora 35 Wireshark 3.6.1 package says the more correct

    # Create imported target wsutil
    add_library(wsutil SHARED IMPORTED)

    set_target_properties(wsutil PROPERTIES
      INTERFACE_LINK_LIBRARIES "/usr/lib64/libglib-2.0.so;/usr/lib64/libgmodule-2.0.so"
    )

instead of what the Ubuntu 21.10 Wireshark 3.4.7 package says

    # Create imported target wsutil
    add_library(wsutil SHARED IMPORTED)

    set_target_properties(wsutil PROPERTIES
      INTERFACE_INCLUDE_DIRECTORIES "/usr/include;/usr/include"
      INTERFACE_LINK_LIBRARIES "dl;/usr/lib/x86_64-linux-gnu/libgmodule-2.0.so;/usr/lib/x86_64-linux-gnu/libglib-2.0.so;/usr/lib/x86_64-linux-gnu/libgcrypt.so;/usr/lib/x86_64-linux-gnu/libgpg-error.so;/usr/lib/x86_64-linux-gnu/libgnutls.so;m"
      INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "/usr/include;/usr/include"
    )

I have not checked where the difference comes from (wireshark version, cmake version or something else).