mikhail.ramalho added a comment. Looks like my last email got lost:
I'm wondering if we can remove the binary requirement all together: is it possible to run a small program that would return EXIT_SUCCESS if the library is the correct version? Something like: #include <z3.h> int main() { unsigned int major, minor, build, revision; Z3_get_version(&major, &minor, &build, &revision); if(major >= 4 && minor >= 7 && build >= 1) return EXIT_SUCCESS; return EXIT_FAILURE; } This would be part of FindZ3.cmake and would set Z3_FOUND. Do you guys think it's possible? I'm almost certain it can be done with autotools, but I'm clueless when it comes to cmake. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D54978/new/ https://reviews.llvm.org/D54978 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits