Skip to content

Commit 1d8fdda

Browse files
authored
[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 #154786 (comment). Thanks fo @jprotze for the suggested fix. Signed-off-by: Michał Górny <mgorny@gentoo.org>
1 parent f3f717b commit 1d8fdda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openmp/tools/omptest/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ endif()
2222

2323
include(CMakePackageConfigHelpers)
2424

25+
include_directories(${LIBOMP_INCLUDE_DIR})
26+
2527
set(OMPTEST_HEADERS
2628
./include/AssertMacros.h
2729
./include/InternalEvent.h

0 commit comments

Comments
 (0)