1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-29 04:06:40 +00:00

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
This commit is contained in:
psi29a 2024-07-24 07:32:42 +00:00
commit 4dabcbc82f

View file

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