[Openmp-commits] [openmp] [OpenMP][omptest] Improve CMake and address review comments (PR #159416)

Michael Kruse via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 17 07:49:50 PST 2025


https://github.com/Meinersbur requested changes to this pull request.

If would propose some simple code such which should work in all build modes.

```
if (NOT TARGET default_gtest)
  add_subdirectory(${CMAKE_CURRENT_SOURCE_DIRECTORY}/../../../third-party/unittest)
endif ()
target_link_libraries(omptest PUBLIC default_gtest)
```

https://github.com/llvm/llvm-project/pull/159416


More information about the Openmp-commits mailing list