summaryrefslogtreecommitdiff
path: root/cmake/FindGettext.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindGettext.cmake')
-rw-r--r--cmake/FindGettext.cmake2
1 files changed, 1 insertions, 1 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")