diff --git a/google/cloud/functions/config.pc.in b/google/cloud/functions/config.pc.in index 21072619..79386b77 100644 --- a/google/cloud/functions/config.pc.in +++ b/google/cloud/functions/config.pc.in @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -prefix=@CMAKE_INSTALL_PREFIX@ +prefix=${pcfiledir}/../.. exec_prefix=${prefix}/@CMAKE_INSTALL_BINDIR@ libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@