have you tried CMakePackageConfigHelpers. Works great and if I understand your email right then it is exactly for that purpose. -- View this message in context: http://cmake.3232098.n2.nabble.com/Not-hardcoding-install-dir-in-Config-cmake-tp7589723p7589724.html Sent from the CMake mailing list archive at Nabble.com.