MySQL Source-Configuration Options Whether to enable the link-time optimizer, if the compiler supports it. The default is  OFF  unless FPROFILE_USE  is enabled. This option was added in MySQL 8.0.13. Use this option to compile the MeCab parser. If you have installed MeCab to its default installation directory, set  -DWITH_MECAB=system . The  system  option applies to MeCab installations performed from source or from binaries using a native package management utility. If you installed MeCab to a custom installation directory, specify the path to the MeCab installation. For example,  -DWITH_MECAB=/ opt/mecab . If the  system  option does not work, specifying the MeCab installation path should work in all cases. For related information, see Section 12.10.9, “MeCab Full-Text Parser Plugin” . Whether to enable MemorySanitizer, for compilers that support it. The default is off. For this option to have an effect if enabled, all libraries linked to MySQL must also have been compiled with the option enabled. Whether to build with support for X Plugin. Default  ON . See Chapter 20,  Using MySQL as a Document Store . Explicitly set the NUMA memory allocation policy.  CMake  sets the default  WITH_NUMA  value based on whether the current platform has  NUMA  support. For platforms without NUMA support,  CMake  behaves as follows: 239 This option was removed in MySQL 8.0.16. The type of LZMA library support to include.  lzma_type  can be one of the following values: The  WITH_LZ4  indicates the source of  zlib  support: Whether to enable Visual Studio CRT memory leak tracing. The default is  OFF . • -DWITH_LZ4= lz4_type • -DWITH_LTO= bool • bundled : Use the  lz4  library bundled with the distribution. This is the default. • system : Use the system  lz4  library. If  WITH_LZ4  is set to this value, the  lz4_decompress  utility is not built. In this case, the system  lz4  command can be used instead. • -DWITH_LZMA= lzma_type • bundled : Use the LZMA library bundled with the distribution. This is the default. • system : Use the system LZMA library. • -DWITH_MECAB={disabled|system| path_name } • -DWITH_MSAN= bool • -DWITH_MSCRT_DEBUG= bool • -DWITH_MYSQLX= bool • -DWITH_NUMA= bool