cmake_modules/FindSparkle.cmake
author Wuzzy <Wuzzy2@mail.ru>
Thu, 08 Mar 2018 16:49:49 +0100
changeset 13118 1ddb8aac5e30
parent 8667 f93cc19d8b98
permissions -rw-r--r--
ACF: Reduce computer hog levels in missions 2 and 6. They were way too high, especially in mission 2. Mission 2: Weaklings: level 5 → level 1 (except Brainiac) Stronglings: (real) level 4 → level 2 Brainiac: level 1 → level 5 (because he's special) Looks like all levels were just flipped. Mission 5: First enemy team: level 5 → level 3 Reinforcements: level 5 → level 4 The high skill level punishes player mistakes too much.

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