External Project not build/compiled/installed/etc. (with reproducable git repository)
I've created this repository on Github which demonstrates an issue I'm running into.
I've got a CMakeLists.txt where I create a library and an executable. The library depends on an ExternalProject and the executable depends on the library. I'm using the Ninja generator to build the project. When I try to build the project using this build.sh the external dependency is not found: the file mbedtls/config.h
is not found.
I've tested this on two PCs running Arch Linux, CMake 3.18.2, Ninja 1.10.1, Python 3.8.5. On one PC it builds fine; probably because I have /usr/include/mbedtls/config.h
but not on another almost identical PC where I don't have mbedtls installed.
To reproduce the issue, clone the repository and run ./build.sh
.
I've pasted a --trace
output here.
What might cause this issue?