[libc-commits] [libc] [llvm] [Flang-RT][libc] LLVM-independent unittests (PR #164794)
Michael Kruse via libc-commits
libc-commits at lists.llvm.org
Mon Oct 27 05:37:42 PDT 2025
================
@@ -22,7 +22,7 @@ if (CMAKE_CROSSCOMPILING)
return ()
endif ()
-if (NOT TARGET llvm_gtest)
+if (NOT TARGET default_gtest)
message(WARNING "Flang-RT unittests disabled due to GTest being unavailable; "
"Try LLVM_INSTALL_GTEST=ON for the LLVM build")
----------------
Meinersbur wrote:
I should be unreachable, I think. `default_gtest` shold be defined by `runtimes/CMakeLists.txt` wheneven LLVM_INCLUDE_TEST is defined. When not defined, this CMakeLists.txt should also not be add_subdirectorie'd.
https://github.com/llvm/llvm-project/pull/164794
More information about the libc-commits
mailing list