cmake_modules/FindSparkle.cmake
author Wuzzy <Wuzzy2@mail.ru>
Sat, 16 May 2020 01:04:27 +0200
changeset 15561 3c1c5ff824f7
parent 8667 f93cc19d8b98
permissions -rw-r--r--
Many improvements and fixes for hats webpage * Fix static hats not being animated properly * Make widges more user-friendly * Add local mode to hats webpage to make testing easier (IS_LOCAL variable) * Cleanup code * Update themes list * Update list of local hats

# 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)