New issue by LinArcX on void-packages repository https://github.com/void-linux/void-packages/issues/20088 Description: ### System * xuname: `Void 5.4.25_1 x86_64 GenuineIntel uptodate hold rrDDDFFFFF` * package: `qt5-quickcontrols2-devel` ### Expected behavior I want to link [my-application](https://github.com/LinArcX/qtcneo) against Qt5Quick with cmake without any error. ### Actual behavior ### Steps to reproduce the behavior Install `cmake`, `qt5`, `qt5-devel`, `qt5-quickcontrols2-devel` and clone [this project](https://github.com/LinArcX/qtcneo). Create a directory called build, cd into it and run: `cmake ..` ``` ╰ cmake ../ -- The CXX compiler identification is GNU 9.2.0 -- Check for working CXX compiler: /bin/c++ -- Check for working CXX compiler: /bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The C compiler identification is GNU 9.2.0 -- Check for working C compiler: /bin/cc -- Check for working C compiler: /bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found PkgConfig: /bin/pkg-config (found version "0.29.2") -- Checking for modules 'Qt5Core;Qt5QuickControls2;Qt5Gui;Qt5OpenGL;Qt5Network' -- Package 'Qt5Quick', required by 'Qt5QuickControls2', not found CMake Error at /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:463 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-3.16/Modules/FindPkgConfig.cmake:643 (_pkg_check_modules_internal) CMakeLists.txt:15 (PKG_CHECK_MODULES) ```