#1144320 libphonenumber-dev: Broken CMake package config

Package:
libphonenumber-dev
Source:
libphonenumber-dev
Description:
parsing/formatting/validating phone numbers - development files
Submitter:
Henrik Schnor
Date:
2026-08-13 17:21:02 UTC
Severity:
normal
#1144320#5
Date:
2026-08-13 17:18:54 UTC
From:
To:
Dear Maintainer,

The CMake package config in libphonenumber-dev is currently broken because it checks if static libraries are installed that are not included in the debian packages (see debian/not-installed). To solve this, the project could be built with -DBUILD_STATIC_LIB=OFF or the static libs could be included in the debian packages.

Reproducer:

cmake_minimum_required(VERSION 3.16)
project(test CXX)
find_package(libphonenumber REQUIRED)

Best regards,
Henrik