[3party] Don't build gflags exec.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako
2025-05-17 12:30:45 -03:00
committed by Konstantin Pastbin
parent d20a9e7ff8
commit 5bc6e6ded6

View File

@@ -33,6 +33,8 @@ if (NOT WITH_SYSTEM_PROVIDED_3PARTY)
target_include_directories(jansson INTERFACE "${PROJECT_BINARY_DIR}/3party/jansson/jansson/include")
# Add gflags library.
set(GFLAGS_BUILD_TESTING OFF)
set(GFLAGS_BUILD_PACKAGING OFF)
add_subdirectory(gflags)
target_compile_options(gflags_nothreads_static PRIVATE $<$<CXX_COMPILER_ID:GNU>:-Wno-subobject-linkage>)