diff -r b01ab1ef01fb -r d0461bd6d45b tools/CMakeLists.txt --- a/tools/CMakeLists.txt Fri Apr 29 02:42:46 2011 +0200 +++ b/tools/CMakeLists.txt Fri Apr 29 03:31:50 2011 +0200 @@ -17,6 +17,12 @@ if(NOT NOAUTOUPDATE) #needed for SPARKLE_FOUND variable find_package(Sparkle QUIET) + #needed because the 'if' clause in the script prints silly policy warnings + if(${SPARKLE_FOUND}) + set(SPARKLE_FOUND 1) + else() + set(SPARKLE_FOUND 0) + endif() endif() #use the associated tool from the libraries we've selected