diff options
author | Jerome Duval <jerome.duval@gmail.com> | 2016-02-20 11:34:21 +0000 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-11-10 11:04:47 +0100 |
commit | 8d991f128480ffcf92290ba6ddf98722e94d2194 (patch) | |
tree | cfb6ee68ac22843a3c4dd6f50463669a49955349 /src/gui | |
parent | 9f8162651f6fb4f1c333c53be39d7deef56bf1ae (diff) | |
download | weechat-8d991f128480ffcf92290ba6ddf98722e94d2194.zip |
Haiku: link libnetwork, not libpthread.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/curses/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt index 4f4998751..d0579271c 100644 --- a/src/gui/curses/CMakeLists.txt +++ b/src/gui/curses/CMakeLists.txt @@ -27,7 +27,13 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS") list(APPEND EXTRA_LIBS "socket" "nsl") endif() -list(APPEND EXTRA_LIBS "pthread") +if(${CMAKE_SYSTEM_NAME} STREQUAL "Haiku") + list(APPEND EXTRA_LIBS "network") +endif() + +if(NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Haiku") + list(APPEND EXTRA_LIBS "pthread") +endif() if(ICONV_LIBRARY) list(APPEND EXTRA_LIBS ${ICONV_LIBRARY}) |