1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-26 21:17:12 +00:00

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

This commit is contained in:
Petr Mikheev 2024-07-23 00:44:39 +02:00
parent 5d3aa62e56
commit 4a56d39b41

View File

@ -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