From dc692fd04a4ec335a2007ae699575198d51e33af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 26 May 2024 23:53:00 +0200 Subject: [PATCH] core, relay: fix include directory of libzstd --- ChangeLog.adoc | 1 + src/core/CMakeLists.txt | 2 +- src/plugins/relay/CMakeLists.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index e9af33513..2be5cb905 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -15,6 +15,7 @@ For a list of important changes that require manual actions, please look at rele Bug fixes:: + * core, relay: fix include directory of libzstd * core: add missing mouse events "alt-ctrl-button2" and "alt-ctrl-button3" * irc: fix crash in split of IRC message containing a newline if the server is not given * python: fix truncation of unsigned long long integer returned by function string_parse_size diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 2f21d146a..21bffd57d 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -92,7 +92,7 @@ include_directories(${GNUTLS_INCLUDE_PATH}) include_directories(${CURL_INCLUDE_DIRS}) if(ENABLE_ZSTD) - include_directories(${ZSTD_INCLUDE_DIRS}) + include_directories(${LIBZSTD_INCLUDE_DIRS}) endif() include_directories("${CMAKE_BINARY_DIR}") diff --git a/src/plugins/relay/CMakeLists.txt b/src/plugins/relay/CMakeLists.txt index 953aa7227..1d4e6d5d9 100644 --- a/src/plugins/relay/CMakeLists.txt +++ b/src/plugins/relay/CMakeLists.txt @@ -51,7 +51,7 @@ list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS}) list(APPEND LINK_LIBS ${ZLIB_LIBRARY}) if(ENABLE_ZSTD) - include_directories(${ZSTD_INCLUDE_DIRS}) + include_directories(${LIBZSTD_INCLUDE_DIRS}) list(APPEND LINK_LIBS ${LIBZSTD_LDFLAGS}) endif()