diff options
author | Dominik Schmidt <dev@dominik-schmidt.de> | 2018-10-10 02:11:48 +0300 |
---|---|---|
committer | Dominik Schmidt <domme@tomahawk-player.org> | 2018-10-11 14:09:35 +0300 |
commit | f8e7df42a80c69c39070447066d047dcf8c0b9f6 (patch) | |
tree | 1005bc86da5869e1f918df395b3eb1fcf48980ac /cmake | |
parent | ba2c4d1b211bb0acdb56260371d35f6286e26295 (diff) |
Simplify Sparkle handling in CMake
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/FindSparkle.cmake | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/cmake/modules/FindSparkle.cmake b/cmake/modules/FindSparkle.cmake index 2c1e1944d..2b0c75b95 100644 --- a/cmake/modules/FindSparkle.cmake +++ b/cmake/modules/FindSparkle.cmake @@ -2,8 +2,7 @@ # # 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 +# SPARKLE_LIBRARY - The framework needed to use Sparkle # Copyright (c) 2009, Vittorio Giovara <vittorio.giovara@gmail.com> # # Distributed under the OSI-approved BSD License (the "License"); @@ -15,9 +14,8 @@ 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) +find_package_handle_standard_args(Sparkle DEFAULT_MSG SPARKLE_LIBRARY) +mark_as_advanced(SPARKLE_LIBRARY) |