From 576b3dff3b91a1ce5071658c9273b13e86ccc71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 30 Aug 2025 20:20:13 +0200 Subject: [PATCH] [openmp] Fix missing include directory in omptest tool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- openmp/tools/omptest/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openmp/tools/omptest/CMakeLists.txt b/openmp/tools/omptest/CMakeLists.txt index e585eeb095a38..b313f223c354c 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