mirror of
https://github.com/weechat/weechat.git
synced 2026-06-26 04:46:37 +02:00
core, relay: fix include directory of libcjson and libzstd
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
* php: fix return value of function hdata_longlong
|
||||
* tcl: fix return value of function hdata_longlong (issue #2119)
|
||||
* core, relay: fix include directory of libcjson and libzstd
|
||||
* tests: fix relay tests on s390x (issue #2118)
|
||||
* tests: fix check of php plugin (issue #2117)
|
||||
* tests: fix compilation of tests on Fedora 40 (issue #2116)
|
||||
|
||||
@@ -92,11 +92,11 @@ include_directories(${GNUTLS_INCLUDE_PATH})
|
||||
include_directories(${CURL_INCLUDE_DIRS})
|
||||
|
||||
if(ENABLE_ZSTD)
|
||||
include_directories(${ZSTD_INCLUDE_DIRS})
|
||||
include_directories(${LIBZSTD_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
if(ENABLE_CJSON)
|
||||
include_directories(${CJSON_INCLUDE_DIRS})
|
||||
include_directories(${LIBCJSON_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
include_directories("${CMAKE_BINARY_DIR}")
|
||||
|
||||
@@ -68,12 +68,12 @@ 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()
|
||||
|
||||
if(ENABLE_CJSON)
|
||||
include_directories(${CJSON_INCLUDE_DIRS})
|
||||
include_directories(${LIBCJSON_INCLUDE_DIRS})
|
||||
list(APPEND LINK_LIBS ${LIBCJSON_LDFLAGS})
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user