cmake_modules/FindSparkle.cmake
author Wuzzy <Wuzzy2@mail.ru>
Fri, 09 Mar 2018 19:05:59 +0100
changeset 13145 5083fb0a2992
parent 8667 f93cc19d8b98
permissions -rw-r--r--
A Classic Fairytale: Harden all missions against missing campaign variables in team file and assume default values This assumes the worst case in which the team file is missing all campaign variables except Progress. This has been successfully tested with all 10 missions and still generates a logical storyline. By default, the game assumes: - The cyborg's offer in mission 2 was refused - The traitor in mission 5 was killed As a consequence, missions 8 and 10 use the princessScene cut scene.
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