FindSparkle.cmake 717 B

123456789101112131415161718192021
  1. # Find Sparkle.framework
  2. #
  3. # Once done this will define
  4. # SPARKLE_FOUND - system has Sparkle
  5. # SPARKLE_LIBRARY - The framework needed to use Sparkle
  6. # Copyright (c) 2009, Vittorio Giovara <vittorio.giovara@gmail.com>
  7. #
  8. # Distributed under the OSI-approved BSD License (the "License");
  9. # see accompanying file Copyright.txt for details.
  10. #
  11. # This software is distributed WITHOUT ANY WARRANTY; without even the
  12. # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. # See the License for more information.
  14. include(FindPackageHandleStandardArgs)
  15. find_library(SPARKLE_LIBRARY NAMES Sparkle)
  16. find_package_handle_standard_args(Sparkle DEFAULT_MSG SPARKLE_LIBRARY)
  17. mark_as_advanced(SPARKLE_LIBRARY)