[PATCH] this should fix the cmake 3.0 issue. thanks to Spacey for reporting
authorsheepluva <sheepyluva@gmail.com>
Wed, 13 Aug 2014 13:16:33 +0000 (15:16 +0200)
committerGianfranco Costamagna <costamagnagianfranco@yahoo.it>
Fri, 17 Oct 2014 16:00:32 +0000 (17:00 +0100)
Gbp-Pq: Name b2d1b0d292c71b5a4266c9359280fa32a35ac56d.patch

tools/CMakeLists.txt

index b3fb74695dc165e4b3e8a13de852ba5d9b98a78e..36f065f79a45c4d319c3d18a7dd56a097a2e05db 100644 (file)
@@ -57,7 +57,7 @@ if (APPLE)
 
     #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}"