I don't know anything about cmake but... the following files are installed in the root filesytem under /ktnef ktnefattach.h ktnefdefs.h ktnefmessage.h ktnefparser.h ktnefproperty.h ktnefpropertyset.h ktnefwriter.h Should they not be in /opt/trinity/lib I could be missing something in cmake as I build the packages like this cmake ${_source}/${_module}/ \ -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \ -DQTDIR=/opt/qt \ -DQT_LIBRARY_DIRS=/opt/qt/lib \ -DBUILD_ALL=ON make Which gives me an error in my packaging tools trinity-kdepim W: File (ktnef/ktnefattach.h) exists in a non-standard directory. trinity-kdepim W: File (ktnef/ktnefdefs.h) exists in a non-standard directory. trinity-kdepim W: File (ktnef/ktnefwriter.h) exists in a non-standard directory. trinity-kdepim W: File (ktnef/ktnefpropertyset.h) exists in a non-standard directory. trinity-kdepim W: File (ktnef/ktnefproperty.h) exists in a non-standard directory. trinity-kdepim W: File (ktnef/ktnefparser.h) exists in a non-standard directory. trinity-kdepim W: File (ktnef/ktnefmessage.h) exists in a non-standard directory.