From 1d8fdda7b0a9f47c443600bca6af2bc141e4abf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 31 Aug 2025 04:54:45 +0200 Subject: [openmp] Fix missing include directory in omptest tool (#156194) 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 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 -- cgit v1.1