cmake_modules/FindSparkle.cmake
author Wuzzy <almikes@aol.com>
Fri, 22 Sep 2017 18:46:28 +0200
changeset 12493 c19e5ece5b3f
parent 8667 f93cc19d8b98
permissions -rw-r--r--
Fix rotatemask (hedgehog info) key toggling team bars instead of changing hedgehog tags Pressing rotatemask toggled the team bars, but it was clearly indicatd otherwise in the controls menu. To change hog tags, you must have pressed rotatemask+precise which is not what users expect. New behaviour: - rotatemask changes hog tags - rotatemask+precise toggles team bars
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