--- a/tools/CreateMacBundle.cmake.in Sun Oct 18 14:36:01 2009 +0000
+++ b/tools/CreateMacBundle.cmake.in Sun Oct 18 14:41:03 2009 +0000
@@ -10,7 +10,7 @@
execute_process(COMMAND cp -pPR ${OGG_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/Ogg.framework)
execute_process(COMMAND cp -pPR ${VORBIS_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/Vorbis.framework)
-if(SPARKLE_FOUND)
+if(${SPARKLE_FOUND})
execute_process(COMMAND cp -pPR ${SPARKLE_LIBRARY} ${CMAKE_BINARY_DIR}/${frameworks_dir}/Sparkle.framework)
endif()