Merge branch 'cmake_fix' into 'master'

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

See merge request OpenMW/openmw!4270
pull/3236/head
psi29a 5 months ago
commit 4dabcbc82f

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

Loading…
Cancel
Save