--- a/QTfrontend/CMakeLists.txt Thu Mar 07 10:16:21 2013 +0100
+++ b/QTfrontend/CMakeLists.txt Thu Mar 07 11:55:00 2013 +0100
@@ -166,15 +166,13 @@
util/platform/M3InstallController.m
util/platform/NSWorkspace_RBAdditions.m
)
- if(NOT NOAUTOUPDATE)
- include(${CMAKE_MODULE_PATH}/utils.cmake)
- find_package_or_disable(Sparkle NOAUTOUPDATE)
+ include(${CMAKE_MODULE_PATH}/utils.cmake)
+ find_package_or_disable_msg(Sparkle NOAUTOUPDATE "Autoupdater will not be built.")
+ if(SPARKLE_FOUND)
add_definitions(-DSPARKLE_ENABLED)
list(APPEND hwfr_src util/platform/AutoUpdater.cpp
util/platform/SparkleAutoUpdater.mm)
list(APPEND HW_LINK_LIBS ${SPARKLE_LIBRARY})
- else()
- message(STATUS "Sparkle autoupdater disabled")
endif()
endif()