r1926386 | rinrab | 2025-06-13 12:44:06 +0000 (Fri, 13 Jun 2025)
Make APR and APR Util dependencies to be linked as PUBLIC, since our headers
require them.
* build/generator/gen_cmake.py
(PUBLIC_LIB_DEPENDS): Define a white-list of libraries to consider as PUBLIC.
(Generator::write): Prepare private_libs and public_libs separately.
* build/generator/templates/targets.cmake.ezt
(libs): Link private_libs and public_libs separately.
* CMakeLists.txt: revert part of r1926360, where APR include dir is added to
global include directories.
Patch by: brane
Reviewed by: dsahlberg, rinrab
See: lists.apache.org/thread/0zl2mdto2ggmtx48ggbpvzksmb7dhwg2