# HG changeset patch
# User sheepluva
# Date 1407935793 -7200
# Node ID a5752075f89728dcd7e7dfe2fa4f284fcd17fb5b
# Parent  d263e0abcd7cbe51c0a356584c587a634b0904ce
this should fix the cmake 3.0 issue. thanks to Spacey for reporting

diff -r d263e0abcd7c -r a5752075f897 tools/CMakeLists.txt
--- a/tools/CMakeLists.txt	Wed Aug 13 14:50:13 2014 +0200
+++ b/tools/CMakeLists.txt	Wed Aug 13 15:16:33 2014 +0200
@@ -57,7 +57,7 @@
 
     #create the .dmg for deployment
     #first make sure .app exists, then remove any old .dmg with same name, finally run the script
-    add_custom_target(dmg COMMAND if [ ! -a Hedgewars.app ]; then make install\; fi;
+    add_custom_target(dmg COMMAND "if [ ! -a Hedgewars.app ]; then make install\; fi;"
                           COMMAND rm -f ${CMAKE_BINARY_DIR}/Hedgewars-${HEDGEWARS_VERSION}.dmg
                           COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/create-dmg.sh
                                   --volname "Hedgewars ${HEDGEWARS_VERSION}"