summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-09-29 15:19:38 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-10-02 23:09:03 +0200
commit38a15c2452e32b71a8ce1112b54327f3ecfbb1c4 (patch)
treef8fb4e8a96ef9986a3e6510277624c2eaf00dd51
parent790712e802bf8126664a4905ab1aa787c732ecc4 (diff)
build-sys: Add spice-protocol detection
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b6f65c9..1345b91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,3 +37,7 @@ SET( SOURCES
# This will include Win/projectDef.cmake, X11/projectDef.cmake, Mac/projectDef
# depending on the platform
include_platform()
+
+find_package(PkgConfig)
+pkg_check_modules(SPICE_PROTOCOL spice-protocol)
+include_directories(${SPICE_PROTOCOL_INCLUDE_DIRS})