mgorny added a comment. Is there a way to get the basename from ZLIB_LIBRARY by any chance? Not saying it's actually necessary, just wondering. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D72490/new/ https://reviews.llvm.org/D72490