QTfrontend/CMakeLists.txt
changeset 8659 e49056d3aba1
parent 8646 e31044b7fbba
child 8666 1652c1d9adc8
equal deleted inserted replaced
8657:3a957233f459 8659:e49056d3aba1
   173         if(SPARKLE_FOUND)
   173         if(SPARKLE_FOUND)
   174             add_definitions(-DSPARKLE_ENABLED)
   174             add_definitions(-DSPARKLE_ENABLED)
   175             list(APPEND hwfr_src util/platform/AutoUpdater.cpp
   175             list(APPEND hwfr_src util/platform/AutoUpdater.cpp
   176                                  util/platform/SparkleAutoUpdater.mm)
   176                                  util/platform/SparkleAutoUpdater.mm)
   177             list(APPEND HW_LINK_LIBS ${SPARKLE_LIBRARY})
   177             list(APPEND HW_LINK_LIBS ${SPARKLE_LIBRARY})
       
   178         else()
       
   179             message(FATAL_ERROR "Missing Sparkle! Rerun cmake with -DNOAUTOUPDATE=on to disable autoupdating")
   178         endif()
   180         endif()
   179     endif()
   181     endif()
   180 endif()
   182 endif()
   181 
   183 
   182 #when debugging, always prompt a console to see fronted messages
   184 #when debugging, always prompt a console to see fronted messages