SYNERGY-316 Requires google test even when tests are disabled with BUI… (#6825)

* SYNERGY-316 Requires googletest even when tests are disabled with BUILD_TESTS=OFF

* Update ChangeLog
This commit is contained in:
SerhiiGadzhilov 2020-11-03 11:41:12 +03:00 committed by GitHub
parent 261b1f422d
commit 43ba381496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -350,7 +350,7 @@ endif()
#
# Google Test
#
if(NOT EXISTS "${PROJECT_SOURCE_DIR}/ext/googletest/CMakeLists.txt")
if(BUILD_TESTS AND NOT EXISTS "${PROJECT_SOURCE_DIR}/ext/googletest/CMakeLists.txt")
message(FATAL_ERROR "The submodules were not downloaded! GIT_SUBMODULE was turned off or failed. Please update submodules and try again.")
endif()

View file

@ -13,6 +13,7 @@ Bug fixes:
- #6814 The system asks to save twice.
- #6817 Configure requires dns_sd.h for enterprise version
- #6821 Blocker bugs found by sonar
- #6825 The system requires google test even when tests are disabled with BUILD_TESTS=OFF
Enhancements:
- #6750 Integrate SonarCloud for static analysis and test coverage