diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2012-09-29 15:19:38 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-10-02 23:09:03 +0200 |
commit | 38a15c2452e32b71a8ce1112b54327f3ecfbb1c4 (patch) | |
tree | f8fb4e8a96ef9986a3e6510277624c2eaf00dd51 | |
parent | 790712e802bf8126664a4905ab1aa787c732ecc4 (diff) |
build-sys: Add spice-protocol detection
-rw-r--r-- | CMakeLists.txt | 4 |
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}) |