aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-31 04:54:45 +0200
committerGitHub <noreply@github.com>2025-08-31 04:54:45 +0200
commit1d8fdda7b0a9f47c443600bca6af2bc141e4abf7 (patch)
treed1bf3256647832157bcce122ebea8cf995c8224f
parentf3f717bbfa61600703b3b2149ebdb87fbee2dbac (diff)
downloadllvm-1d8fdda7b0a9f47c443600bca6af2bc141e4abf7.zip
llvm-1d8fdda7b0a9f47c443600bca6af2bc141e4abf7.tar.gz
llvm-1d8fdda7b0a9f47c443600bca6af2bc141e4abf7.tar.bz2
[openmp] Fix missing include directory in omptest tool (#156194)
Add missing `LIBOMP_INCLUDE_DIR` include directory to fix build failures in omptest, as reported in https://github.com/llvm/llvm-project/pull/154786#issuecomment-3223481804. Thanks fo @jprotze for the suggested fix. Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--openmp/tools/omptest/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/openmp/tools/omptest/CMakeLists.txt b/openmp/tools/omptest/CMakeLists.txt
index e585eeb..b313f22 100644
--- a/openmp/tools/omptest/CMakeLists.txt
+++ b/openmp/tools/omptest/CMakeLists.txt
@@ -22,6 +22,8 @@ endif()
include(CMakePackageConfigHelpers)
+include_directories(${LIBOMP_INCLUDE_DIR})
+
set(OMPTEST_HEADERS
./include/AssertMacros.h
./include/InternalEvent.h