this should fix the cmake 3.0 issue. thanks to Spacey for reporting
authorsheepluva
Wed, 13 Aug 2014 15:16:33 +0200
changeset 10382 a5752075f897
parent 10381 d263e0abcd7c
child 10383 ffebf1c98ee4
this should fix the cmake 3.0 issue. thanks to Spacey for reporting
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}"