Howdy, It seems to me that FindSoprano.cmake needs some love. In particular, it does stuff like: find_path(SOPRANO_INCLUDE_DIR NAMES soprano/soprano.h PATHS ${KDE4_INCLUDE_DIR} ${INCLUDE_INSTALL_DIR} ) which I think should be changed to: find_path(SOPRANO_INCLUDE_DIR NAMES soprano/soprano.h ) to make sure the search order is taken from CMAKE_PREFIX_PATH. Right?