1. Home
  2. ›
  3. Browse
  4. ›
  5. networkmanager-headers

networkmanager-headers

v1.58.1#0Latest

Headers of libnm-core, part of the NetworkManager client library: settings, D-Bus API enums and version, to talk to the system NetworkManager daemon over D-Bus.

Headers only: the daemon and libnm are not built, and the libnm-client headers are not installed.

Install

Run the following Vcpkg command to install the port.

vcpkg install networkmanager-headers

Usage

networkmanager-headers provides pkg-config modules:

# libnm-core headers of the NetworkManager client library (headers only)

libnm

Only the headers are installed, without the library: the constants and types

of the NetworkManager D-Bus API can be used, but not the libnm functions.

In CMake, use the module for compiling only, never for linking:

find_package(PkgConfig REQUIRED)

pkg_check_modules(LIBNM REQUIRED IMPORTED_TARGET libnm)

target_link_libraries(main PRIVATE $<COMPILE_ONLY:PkgConfig::LIBNM>)

Installed CMake package configuration files MUST NOT find_dependency() it.

Dependencies

See source

Version

v1.58.1#0

Publication

Supports

linux

GitLab

NetworkManager/NetworkManager

Homepage

networkmanager.dev

Subtree

5bf801a69d

License

LGPL-2.1-or-later

Definition

Manifest