El diumenge, 3 de novembre del 2024, a les 23:59:05 (Hora estĂ ndard del Centre
d’Europa), Adam Sampson va escriure:
> Albert Astals Cid <[email protected]> writes:
> > Can you describe step by step what are you doing?
>
> Starting with a clean git clone of the poppler-24.11.0 tag, and cmake
> 3.30.5, doing:
>
> cmake -DENABLE_UNSTABLE_API_ABI_HEADERS=ON .
ah right, ENABLE_UNSTABLE_API_ABI_HEADERS is something i don't do most of the
times.
I'll try to have a look.
Cheers,
Albert
>
> is sufficient to reproduce it for me. The target_sources call at line
> 797 of CMakeLists.txt has:
>
> BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/poppler;${CMAKE_CURRENT_BINARY_DIR}
>
> And since CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR are the
> same for an in-tree build, that breaks CMake's requirement that no two
> directories in BASE_DIRS can be subdirectories of each other.
>
> Thanks,