diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-01-16 19:19:09 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-01-16 19:19:09 +0100 |
commit | b2dd992c0d932fb929354b56af77c9e43a15d25d (patch) | |
tree | eea855671571b40e0fc981f908f4685f311b5e4a /src/gui/curses | |
parent | a7153028b715c5625a665c117a21dd136fe621d6 (diff) | |
download | weechat-b2dd992c0d932fb929354b56af77c9e43a15d25d.zip |
core: add library "pthread" in cmake file for link on OpenBSD
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt index 7f5059556..099bec5ab 100644 --- a/src/gui/curses/CMakeLists.txt +++ b/src/gui/curses/CMakeLists.txt @@ -57,6 +57,10 @@ IF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") ENDIF(HAVE_BACKTRACE) ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD") +IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") + LIST(APPEND EXTRA_LIBS "pthread") +ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD") + IF(ICONV_LIBRARY) LIST(APPEND EXTRA_LIBS ${ICONV_LIBRARY}) ENDIF(ICONV_LIBRARY) |