diff options
-rw-r--r-- | cmake/FindGettext.cmake | 2 | ||||
-rw-r--r-- | weechat/cmake/FindGettext.cmake | 2 |
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") |