summaryrefslogtreecommitdiffstats
path: root/Modules/FindPLIST.cmake
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2013-09-17 11:30:01 +0200
committerGravatar Nikias Bassen2013-09-17 11:30:01 +0200
commitf4758e8b15cd30fe3f7f18de42e2ea20bc5696f0 (patch)
tree671e85e639b689b0b888a0f51c7dd5e15d408930 /Modules/FindPLIST.cmake
parent10939f3ad5755d1117f20df2b97c0cbbd83bbcbe (diff)
downloadusbmuxd-f4758e8b15cd30fe3f7f18de42e2ea20bc5696f0.tar.gz
usbmuxd-f4758e8b15cd30fe3f7f18de42e2ea20bc5696f0.tar.bz2
remove libusbmuxd sources and adapt source tree to use autotools
libusbmuxd has been split off and is now managed in a separate repository. By the time of this commit, the repository is: git clone http://git.sukimashita.com/libusbmuxd.git
Diffstat (limited to 'Modules/FindPLIST.cmake')
-rw-r--r--Modules/FindPLIST.cmake31
1 files changed, 0 insertions, 31 deletions
diff --git a/Modules/FindPLIST.cmake b/Modules/FindPLIST.cmake
deleted file mode 100644
index d51aa74..0000000
--- a/Modules/FindPLIST.cmake
+++ /dev/null
@@ -1,31 +0,0 @@
1# - Try to find libplist
2# Once done, this will define
3#
4# PLIST_FOUND - system has libplist
5# PLIST_INCLUDE_DIRS - the libplist include directories
6# PLIST_LIBRARIES - link these to use libplist
7
8include(LibFindMacros)
9
10# Dependencies
11
12# Use pkg-config to get hints about paths
13libfind_pkg_check_modules(PLIST_PKGCONF libplist >= 0.15)
14
15# Include dir
16find_path(PLIST_INCLUDE_DIR
17 NAMES plist/plist.h
18 PATHS ${PLIST_PKGCONF_INCLUDE_DIRS}
19)
20
21# Finally the library itself
22find_library(PLIST_LIBRARY
23 NAMES plist
24 PATHS ${PLIST_PKGCONF_LIBRARY_DIRS}
25)
26
27# Set the include dir variables and the libraries and let libfind_process do the rest.
28# NOTE: Singular variables for this library, plural for libraries that this lib depends on.
29set(PLIST_PROCESS_INCLUDES PLIST_INCLUDE_DIR)
30set(PLIST_PROCESS_LIBS PLIST_LIBRARY)
31libfind_process(PLIST)