cmake_modules/FindSparkle.cmake
author Wuzzy <Wuzzy2@mail.ru>
Thu, 03 May 2018 15:18:28 +0200
changeset 13360 e27540ad33bd
parent 8667 f93cc19d8b98
permissions -rw-r--r--
Massive Continental supplies update List of changes: * Invulnerability protects from sabotage damage * Sabotage kills hog instantly when health reaches 0 * Reliably prevent using of Lonely Cries and baseball bat specials when usage not allowed * Don't explode Anno 1302 and Medicine if drowning * Don't play “Missed” and “Laugh” taunt when those don't make sense * Major rewrite of ALL strings for better usability * Add custom weapon tooltips * Major refactoring * Improve audiovisual effects * Show message when hog receives new continent ammo * Sabotaged hedgehogs also emit smoke when it's not their turn * Can switch continent in reverse order with [Precise]+[Switch] * Fix retreat timer not turning red for some weapons
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8657
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
     1
# Find Sparkle.framework
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
     2
#
2261
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     3
# Once done this will define
2395
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2261
diff changeset
     4
#  SPARKLE_FOUND - system has Sparkle
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2261
diff changeset
     5
#  SPARKLE_INCLUDE_DIR - the Sparkle include directory
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2261
diff changeset
     6
#  SPARKLE_LIBRARY - The library needed to use Sparkle
8667
f93cc19d8b98 comas and capitals
koda
parents: 8657
diff changeset
     7
# Copyright (c) 2009, Vittorio Giovara <vittorio.giovara@gmail.com>
2261
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
     8
#
8657
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
     9
# Distributed under the OSI-approved BSD License (the "License");
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
    10
# see accompanying file Copyright.txt for details.
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
    11
#
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
    12
# This software is distributed WITHOUT ANY WARRANTY; without even the
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
    13
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
    14
# See the License for more information.
2395
d01d3bf3e1de makes the updater optional at compile time
koda
parents: 2261
diff changeset
    15
8657
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
    16
include(FindPackageHandleStandardArgs)
2261
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
    17
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
    18
find_path(SPARKLE_INCLUDE_DIR Sparkle.h)
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
    19
find_library(SPARKLE_LIBRARY NAMES Sparkle)
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
    20
8657
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
    21
find_package_handle_standard_args(Sparkle DEFAULT_MSG SPARKLE_INCLUDE_DIR SPARKLE_LIBRARY)
3a957233f459 rework FindSparkle.cmake
koda
parents: 7933
diff changeset
    22
mark_as_advanced(SPARKLE_INCLUDE_DIR SPARKLE_LIBRARY)
2261
57e99c908e7c a lot of stuff:
koda
parents:
diff changeset
    23