Thanks for your replies Yuri and Andreas. Sorry for re-initiating this discussion. Yes, I notice that I don't have CMAKE_PREFIX_PATH set, although I have "$KDEDIR" set. Regards Akarsh