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.20110731_3~50^2~6^2~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=adb7181969a6398762873298ef0b50ca575d7b31;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)