|
params.cache.update({"CMAKE_RANLIB": ""}) |
In specific scenarios, CMAKE_RANLIB will be injected into command lines which are attempting to use the empty string as a command, breaking (e.g. "" libjansson.a). I'm not entirely sure when this is a problem, but I've seen it primarily when cross-compiling for Windows using clang-cl. This appears to be corroborated by the OpenCV project, which uses CMAKE_RANLIB=: for those builds.
I'd like to understand why this happens though...