summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Louis <ptitlouis@sysif.net>2007-06-11 18:02:53 +0000
committerJulien Louis <ptitlouis@sysif.net>2007-06-11 18:02:53 +0000
commit47ce432199fba29fe73d719c1c4b672a41b78723 (patch)
tree7abf797fe8bcddcfb21696bcd0c7eff96ea4e9db
parentc9625e1f589d011e8cd89e4e470026f5879db5a2 (diff)
downloadweechat-47ce432199fba29fe73d719c1c4b672a41b78723.zip
Fix Typo in FindGettext.cmake
-rw-r--r--cmake/FindGettext.cmake2
-rw-r--r--weechat/cmake/FindGettext.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmake/FindGettext.cmake b/cmake/FindGettext.cmake
index 3db79cf7e..51feb6e9c 100644
--- a/cmake/FindGettext.cmake
+++ b/cmake/FindGettext.cmake
@@ -46,7 +46,7 @@ IF(HAVE_LIBINTL_H)
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
- ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+ ELSE IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
diff --git a/weechat/cmake/FindGettext.cmake b/weechat/cmake/FindGettext.cmake
index 3db79cf7e..51feb6e9c 100644
--- a/weechat/cmake/FindGettext.cmake
+++ b/weechat/cmake/FindGettext.cmake
@@ -46,7 +46,7 @@ IF(HAVE_LIBINTL_H)
IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
- ELSEIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
+ ELSE IF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")