Uppercase DEFINED or cmake 2.8.4 complains
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 21 Jul 2011 11:59:50 +0000 (13:59 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Thu, 21 Jul 2011 11:59:50 +0000 (13:59 +0200)
src/CMakeLists.txt

index 8785a0e3f9b40abf5ba4fe14e98b210c85530f5d..2d7a7fc68a9c5f18f8ee08b21e7e4ef609d2cf91 100644 (file)
@@ -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)