[Openmp-commits] [openmp] 1d8fdda - [openmp] Fix missing include directory in omptest tool (#156194)
via Openmp-commits
openmp-commits at lists.llvm.org
Sat Aug 30 19:54:49 PDT 2025
Author: Michał Górny
Date: 2025-08-31T04:54:45+02:00
New Revision: 1d8fdda7b0a9f47c443600bca6af2bc141e4abf7
URL: https://github.com/llvm/llvm-project/commit/1d8fdda7b0a9f47c443600bca6af2bc141e4abf7
DIFF: https://github.com/llvm/llvm-project/commit/1d8fdda7b0a9f47c443600bca6af2bc141e4abf7.diff
LOG: [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 at gentoo.org>
Added:
Modified:
openmp/tools/omptest/CMakeLists.txt
Removed:
################################################################################
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
More information about the Openmp-commits
mailing list