From 4e6687759ad901e9ba9a4c1623533daf657316c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 26 May 2024 23:57:21 +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 7a4e657ff..d543a9245 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 8ee698983..6bdd137ae 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -89,7 +89,7 @@ include_directories(${GNUTLS_INCLUDE_PATH}) include_directories(${CURL_INCLUDE_DIRS}) -include_directories(${ZSTD_INCLUDE_DIRS}) +include_directories(${LIBZSTD_INCLUDE_DIRS}) include_directories("${CMAKE_BINARY_DIR}") add_library(weechat_core STATIC ${LIB_CORE_SRC}) diff --git a/src/plugins/relay/CMakeLists.txt b/src/plugins/relay/CMakeLists.txt index dee24c307..9d936736c 100644 --- a/src/plugins/relay/CMakeLists.txt +++ b/src/plugins/relay/CMakeLists.txt @@ -50,7 +50,7 @@ list(APPEND LINK_LIBS ${GCRYPT_LDFLAGS}) list(APPEND LINK_LIBS ${ZLIB_LIBRARY}) -include_directories(${ZSTD_INCLUDE_DIRS}) +include_directories(${LIBZSTD_INCLUDE_DIRS}) list(APPEND LINK_LIBS ${LIBZSTD_LDFLAGS}) target_link_libraries(relay ${LINK_LIBS} coverage_config)