Tests: Add FREECAD_USE_EXTERNAL_GTEST cmake option (#21190)

Add FREECAD_USE_EXTERNAL_GTEST cmake option and fix build with external libraries
This commit is contained in:
FilippoR
2025-05-08 22:41:48 +02:00
committed by GitHub
parent 6a458b5ed0
commit 4b459846d4
2 changed files with 8 additions and 7 deletions

View File

@@ -11,6 +11,7 @@ macro(InitializeFreeCADBuildOptions)
option(FREECAD_USE_EXTERNAL_FMT "Use system installed fmt library if available instead of fetching the source." ON)
option(FREECAD_USE_EXTERNAL_ONDSELSOLVER "Use system installed OndselSolver instead of git submodule." OFF)
option(FREECAD_USE_EXTERNAL_E57FORMAT "Use system installed libE57Format instead of the bundled." OFF)
option(FREECAD_USE_EXTERNAL_GTEST "Use system installed Google Test and Google Mock" OFF)
option(FREECAD_USE_FREETYPE "Builds the features using FreeType libs" ON)
option(FREECAD_BUILD_DEBIAN "Prepare for a build of a Debian package" OFF)
option(FREECAD_CHECK_PIVY "Check for pivy version using Python at build time" ON)