cmake_modules/FindSparkle.cmake
changeset 7939 f951c4b5b335
parent 7933 223b3a195474
child 8657 3a957233f459
equal deleted inserted replaced
7932:ebe1d112e439 7939:f951c4b5b335
    22 else ()
    22 else ()
    23    set(SPARKLE_FOUND FALSE)
    23    set(SPARKLE_FOUND FALSE)
    24 endif ()
    24 endif ()
    25 
    25 
    26 if (SPARKLE_FOUND)
    26 if (SPARKLE_FOUND)
    27    if (NOT Sparkle_FIND_QUIETLY)
    27    if (NOT SPARKLE_FIND_QUIETLY)
    28       message(STATUS "Found Sparkle: ${SPARKLE_LIBRARY}")
    28       message(STATUS "Found Sparkle: ${SPARKLE_LIBRARY}")
    29    endif ()
    29    endif ()
    30 else ()
    30 else ()
    31    if (Sparkle_FIND_REQUIRED)
    31    if (SPARKLE_FIND_REQUIRED)
    32       message(FATAL_ERROR "Could NOT find Sparkle framework")
    32       message(FATAL_ERROR "Could NOT find Sparkle framework")
    33    else ()
    33    else ()
    34       if (NOT Sparkle_FIND_QUIETLY)
    34       if (NOT SPARKLE_FIND_QUIETLY)
    35          message(STATUS "Could NOT find Sparkle framework, autoupdate feature will be disabled")
    35          message(STATUS "Could NOT find Sparkle framework, autoupdate feature will be disabled")
    36       endif()
    36       endif()
    37    endif ()
    37    endif ()
    38 endif ()
    38 endif ()
    39 
    39