From 805bd1431e43dd8f3568a8b82ab1132e4f7ed7fc Mon Sep 17 00:00:00 2001 From: Michael Nutt Date: Mon, 16 Dec 2024 12:57:12 -0500 Subject: [PATCH] disable TEST_SUPPORT by default The current dependency tree means that WebKitLegacy depends on WebCoreTestSupport and we're running into duplicated symbols in different autogenerated code that are unresolvable. --- Source/cmake/OptionsQt.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmake/OptionsQt.cmake b/Source/cmake/OptionsQt.cmake index 02f6e92cb625d..c522e1b4f05b3 100644 --- a/Source/cmake/OptionsQt.cmake +++ b/Source/cmake/OptionsQt.cmake @@ -308,7 +308,7 @@ WEBKIT_OPTION_DEPEND(USE_SYSTEM_SYSPROF_CAPTURE USE_SYSPROF_CAPTURE) WEBKIT_OPTION_DEFINE(ENABLE_JSC_RESTRICTED_OPTIONS_BY_DEFAULT "Whether to enable dangerous development options in JSC by default." PRIVATE OFF) option(GENERATE_DOCUMENTATION "Generate HTML and QCH documentation" OFF) -cmake_dependent_option(ENABLE_TEST_SUPPORT "Build tools for running layout tests and related library code" ON +cmake_dependent_option(ENABLE_TEST_SUPPORT "Build tools for running layout tests and related library code" OFF "DEVELOPER_MODE" OFF) option(USE_STATIC_RUNTIME "Use static runtime (MSVC only)" OFF) option(ENABLE_PCH "Use pre-compiled headers (MSVC only)" ON)