Skip to content

use QJDns cmake config module #32

@drizt

Description

@drizt

jdns/qjdns provides cmake config module. So they should be used instead of pkg-config in CMake. Replace

    # For Linux it was found already before at line 29
    if(NOT LINUX)
            find_package(PkgConfig)
    endif()
    pkg_search_module(JDNS REQUIRED qjdns)

with

find_package(QJDns)

Note. The latest jdns-2.0.3 provides coinstallable Qt4/Qt5 versions of qjdns. So find_package(QJDns)
is good for both

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions