[all-commits] [llvm/llvm-project] 91ccd8: [Clang][OpenMP] libompd: get libomp hwloc included...
Ye Luo via All-commits
all-commits at lists.llvm.org
Fri Apr 22 15:36:20 PDT 2022
Author: Ye Luo <yeluo at anl.gov>
Date: 2022-04-22 (Fri, 22 Apr 2022)
[Clang][OpenMP] libompd: get libomp hwloc includedir by target_link_libraries
When hwloc is used and is installed outside of the default paths, the omp CMake target
needs to provide the needed include path thru the CMake target by adding it with
target_include_directories to it, so libompd gets it as well when it defines it's cmake
target using target_link_libraries.
As suggested in D122667
Reviewed By: ye-luo
Differential Revision: https://reviews.llvm.org/D123888
More information about the All-commits