facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.46k stars 711 forks source link

-DWITH_LZ4=system doesn't find the lz4 library on the fb-mysql-8.0.28 branch #1465

Open mdcallag opened 4 weeks ago

mdcallag commented 4 weeks ago

I don't expect this to be fixed, but it might help others (including my future self).

This change to cmake/lz4.cmake is needed so that -DWITH_LZ4=system works It is only required on the fb-mysql-8.0.28 branch

diff --git a/cmake/lz4.cmake b/cmake/lz4.cmake index 24fce84fd3e..f7512ae088e 100644 --- a/cmake/lz4.cmake +++ b/cmake/lz4.cmake @@ -51,7 +51,7 @@ MACRO (FIND_SYSTEM_LZ4) FIND_LIBRARY(LZ4_SYSTEM_LIBRARY NAMES lz4) IF (LZ4_INCLUDE_DIR AND LZ4_SYSTEM_LIBRARY)