Minor fix in extern/CMakeLists.txt: there is no variable BUILD_UNITTESTS anymore.

pull/3236/head
Petr Mikheev 5 months ago
parent 5d3aa62e56
commit 4a56d39b41

@ -294,7 +294,7 @@ if (NOT OPENMW_USE_SYSTEM_ICU)
set(ICU_LIBRARIES ICU::i18n ICU::uc ICU::data PARENT_SCOPE) set(ICU_LIBRARIES ICU::i18n ICU::uc ICU::data PARENT_SCOPE)
endif() 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) include(FetchContent)
FetchContent_Declare(googletest FetchContent_Declare(googletest

Loading…
Cancel
Save