From 4a56d39b4190f2004334fe80cd0dd1628367fe9d Mon Sep 17 00:00:00 2001 From: Petr Mikheev Date: Tue, 23 Jul 2024 00:44:39 +0200 Subject: [PATCH] Minor fix in extern/CMakeLists.txt: there is no variable BUILD_UNITTESTS anymore. --- extern/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extern/CMakeLists.txt b/extern/CMakeLists.txt index 1a6fcf2625..74ba957813 100644 --- a/extern/CMakeLists.txt +++ b/extern/CMakeLists.txt @@ -294,7 +294,7 @@ if (NOT OPENMW_USE_SYSTEM_ICU) set(ICU_LIBRARIES ICU::i18n ICU::uc ICU::data PARENT_SCOPE) endif() -if ((BUILD_UNITTESTS OR BUILD_OPENCS_TESTS) AND NOT OPENMW_USE_SYSTEM_GOOGLETEST) +if ((BUILD_COMPONENTS_TESTS OR BUILD_OPENCS_TESTS OR BUILD_OPENMW_TESTS) AND NOT OPENMW_USE_SYSTEM_GOOGLETEST) include(FetchContent) FetchContent_Declare(googletest