From: Giuseppe Bilotta Date: Thu, 21 Jul 2011 11:59:50 +0000 (+0200) Subject: Uppercase DEFINED or cmake 2.8.4 complains X-Git-Tag: 0.2.20110922~81^2~35^2~5^2~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d63c160bd68f878ef0ebd30f125deee0e78429eb;p=oweals%2Fminetest.git Uppercase DEFINED or cmake 2.8.4 complains --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8785a0e3f..2d7a7fc68 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -280,10 +280,10 @@ if(BUILD_CLIENT) install(FILES ${ZLIB_DLL} DESTINATION ${BINDIR}) endif() if(USE_GETTEXT) - if(defined GETTEXT_DLL) + if(DEFINED GETTEXT_DLL) install(FILES ${GETTEXT_DLL} DESTINATION ${BINDIR}) endif() - if(defined GETTEXT_ICONV_DLL) + if(DEFINED GETTEXT_ICONV_DLL) install(FILES ${GETTEXT_ICONV_DLL} DESTINATION ${BINDIR}) endif() endif(USE_GETTEXT)