cmake_modules/FindSparkle.cmake
author antonc27 <antonc27@mail.ru>
Mon, 19 Oct 2015 03:39:47 +0200
branchios-revival
changeset 11221 e68b3e392091
parent 8667 f93cc19d8b98
permissions -rw-r--r--
- Big refactoring of front-end Settings for both iPhone and iPad: - - Fixed crash when receiving Memory Warning after dismissing Settings on iPhone - - Set ARC flags for MGSplitVCs as it now updated for iOS 8 - - All sub-settings VCs now recreated each time they presented - - SettingsContainerViewController removed - - Other small improvements

# Find Sparkle.framework
#
# Once done this will define
#  SPARKLE_FOUND - system has Sparkle
#  SPARKLE_INCLUDE_DIR - the Sparkle include directory
#  SPARKLE_LIBRARY - The library needed to use Sparkle
# Copyright (c) 2009, Vittorio Giovara <vittorio.giovara@gmail.com>
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.

include(FindPackageHandleStandardArgs)

find_path(SPARKLE_INCLUDE_DIR Sparkle.h)
find_library(SPARKLE_LIBRARY NAMES Sparkle)

find_package_handle_standard_args(Sparkle DEFAULT_MSG SPARKLE_INCLUDE_DIR SPARKLE_LIBRARY)
mark_as_advanced(SPARKLE_INCLUDE_DIR SPARKLE_LIBRARY)