summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorEmmanuel Bouthenot <kolter@openics.org>2009-10-03 14:56:02 +0200
committerEmmanuel Bouthenot <kolter@openics.org>2009-10-03 14:56:02 +0200
commit43c76c916481a4d7107edddc16db8c3bde07a94d (patch)
tree1248b78f4c00c53f3bbfed8684dc1bc2080beb94 /src/gui
parent7232e7d7f2f9b8bd7a79889f48237fcc5c209d5d (diff)
downloadweechat-43c76c916481a4d7107edddc16db8c3bde07a94d.zip
Replace MATCHES by STREQUAL in cmake: fix a fail to build on kFreeBSD
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/curses/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/curses/CMakeLists.txt b/src/gui/curses/CMakeLists.txt
index 5c2e2a1e2..9b196dc2d 100644
--- a/src/gui/curses/CMakeLists.txt
+++ b/src/gui/curses/CMakeLists.txt
@@ -44,15 +44,15 @@ IF(NCURSES_FOUND)
LIST(APPEND EXTRA_LIBS ${NCURSES_LIBRARY})
ENDIF(NCURSES_FOUND)
-IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
LIST(APPEND EXTRA_LIBS "utf8")
-ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
-IF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+IF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
IF(HAVE_BACKTRACE)
LIST(APPEND EXTRA_LIBS "execinfo")
ENDIF(HAVE_BACKTRACE)
-ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
+ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
ADD_EXECUTABLE(${EXECUTABLE} ${WEECHAT_CURSES_SRC})