[Openmp-commits] [PATCH] D122667: llvm14 patch: hwloc include directory for libompd

Sajid Ali via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 30 08:18:26 PDT 2022


s-sajid-ali updated this revision to Diff 419150.
s-sajid-ali added a comment.

minor correction.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122667/new/

https://reviews.llvm.org/D122667

Files:
  openmp/runtime/src/CMakeLists.txt


Index: openmp/runtime/src/CMakeLists.txt
===================================================================
--- openmp/runtime/src/CMakeLists.txt
+++ openmp/runtime/src/CMakeLists.txt
@@ -47,7 +47,7 @@
   ${LIBOMP_SRC_DIR}/thirdparty/ittnotify
 )
 if(${LIBOMP_USE_HWLOC})
-  include_directories(${LIBOMP_HWLOC_INSTALL_DIR}/include)
+  target_include_directories(${LIBOMP_HWLOC_INSTALL_DIR}/include PUBLIC)
 endif()

 # Building with time profiling support requires LLVM directory includes.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122667.419150.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220330/47b5b174/attachment-0001.bin>


More information about the Openmp-commits mailing list