author | Wuzzy <Wuzzy2@mail.ru> |
Mon, 17 Sep 2018 22:37:47 +0200 | |
changeset 13790 | 4ed202f0428e |
parent 8667 | f93cc19d8b98 |
permissions | -rw-r--r-- |
8657 | 1 |
# Find Sparkle.framework |
2 |
# |
|
2261 | 3 |
# Once done this will define |
2395 | 4 |
# SPARKLE_FOUND - system has Sparkle |
5 |
# SPARKLE_INCLUDE_DIR - the Sparkle include directory |
|
6 |
# SPARKLE_LIBRARY - The library needed to use Sparkle |
|
8667 | 7 |
# Copyright (c) 2009, Vittorio Giovara <vittorio.giovara@gmail.com> |
2261 | 8 |
# |
8657 | 9 |
# Distributed under the OSI-approved BSD License (the "License"); |
10 |
# see accompanying file Copyright.txt for details. |
|
11 |
# |
|
12 |
# This software is distributed WITHOUT ANY WARRANTY; without even the |
|
13 |
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
14 |
# See the License for more information. |
|
2395 | 15 |
|
8657 | 16 |
include(FindPackageHandleStandardArgs) |
2261 | 17 |
|
18 |
find_path(SPARKLE_INCLUDE_DIR Sparkle.h) |
|
19 |
find_library(SPARKLE_LIBRARY NAMES Sparkle) |
|
20 |
||
8657 | 21 |
find_package_handle_standard_args(Sparkle DEFAULT_MSG SPARKLE_INCLUDE_DIR SPARKLE_LIBRARY) |
22 |
mark_as_advanced(SPARKLE_INCLUDE_DIR SPARKLE_LIBRARY) |
|
2261 | 23 |