[PATCH] D111111: libclc: fix include directory in pc file

Dave Airlie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 4 20:04:19 PDT 2021


airlied created this revision.
airlied added reviewers: jvesely, tstellar.
airlied requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

CMAKE_INSTALL_INCLUDE includes CMAKE_INSTALL_PREFIX from what I can see, at least on Fedora we get /usr/usr/include for this now.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111111

Files:
  libclc/libclc.pc.in


Index: libclc/libclc.pc.in
===================================================================
--- libclc/libclc.pc.in
+++ libclc/libclc.pc.in
@@ -1,4 +1,4 @@
-includedir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_INCLUDEDIR@
+includedir=@CMAKE_INSTALL_INCLUDEDIR@
 libexecdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATADIR@/clc
 
 Name: libclc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111111.377074.patch
Type: text/x-patch
Size: 339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211005/a3c1da9a/attachment.bin>


More information about the llvm-commits mailing list