mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
tests: add link with iconv library (if found)
This fixes a compilation error on FreeBSD.
This commit is contained in:
@@ -58,6 +58,7 @@ Build::
|
||||
* core: add CMake option "ENABLE_CODE_COVERAGE" to compile with code coverage options (CMake ≥ 3.0 is now required)
|
||||
* core: fix compilation on Mac OS (issue #1308)
|
||||
* lua: add detection of Lua 5.3 with autotools
|
||||
* tests: fix compilation of tests on FreeBSD
|
||||
|
||||
[[v2.4]]
|
||||
== Version 2.4 (2019-02-17)
|
||||
|
||||
@@ -50,6 +50,10 @@ set(LIB_WEECHAT_UNIT_TESTS_PLUGINS_SRC
|
||||
)
|
||||
add_library(weechat_unit_tests_plugins MODULE ${LIB_WEECHAT_UNIT_TESTS_PLUGINS_SRC})
|
||||
|
||||
if(ICONV_LIBRARY)
|
||||
list(APPEND EXTRA_LIBS ${ICONV_LIBRARY})
|
||||
endif()
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||
list(APPEND EXTRA_LIBS "intl")
|
||||
if(HAVE_BACKTRACE)
|
||||
|
||||
Reference in New Issue
Block a user