C++ CMake build issue with SQLite3 fixed using pkg-config utility
Briefly

When I reached the script `FindSQLite3.cmake` under the GitHub repository `Kitware/CMake`, I noticed that it looked different from the one I could see in my environment, which I had with CMake 3.29.6. Fortunately or unfortunately, it had already been fixed since 2024 March but was still waiting for the next release.
The fix in the script looks quite simple: using the `pkg_check_modules` command from the `PkgConfig` package. It calls the `pkg-config` tool to get the information compilers require and make it available in variables in CMake scripts.
Read at CodeProject
[
|
]