I'm not sure if you used the executable() function for checking the presence of the clang library on Windows because it does some automatic file discovery (I don't have Windows to try now), but on Linux certainly is not going to work, since libraries don't need the executable bit, and rarely have it.
This small change works for me for finding the library. Let me know if you think is wrong on Windows or Mac, and I will try to test it there.
Hi.
I'm not sure if you used the executable() function for checking the presence of the clang library on Windows because it does some automatic file discovery (I don't have Windows to try now), but on Linux certainly is not going to work, since libraries don't need the executable bit, and rarely have it.
This small change works for me for finding the library. Let me know if you think is wrong on Windows or Mac, and I will try to test it there.