diff options
author | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2014-02-05 16:06:03 +0100 |
---|---|---|
committer | Timo Lotterbach <timo.lotterbach@bmw-carit.de> | 2014-02-05 16:06:24 +0100 |
commit | 1a757cd5067c864257463a83484702744c05e49a (patch) | |
tree | 7c123c6646cebbbd75c78ef09299e0c84d4dca51 /protocol | |
parent | cdb466a9964496fb23cb014df82b2db3cd75c185 (diff) | |
download | wayland-ivi-extension-1a757cd5067c864257463a83484702744c05e49a.tar.gz |
fixed pkg_config integration in cmake build system
- library directories were missing
- include paths were not always correct
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/protocol/CMakeLists.txt b/protocol/CMakeLists.txt index 89e72c8..c8a638e 100644 --- a/protocol/CMakeLists.txt +++ b/protocol/CMakeLists.txt @@ -77,7 +77,13 @@ add_custom_command( include_directories( ${CMAKE_CURRENT_BINARY_DIR} - ${WAYLAND_CLIENT_INCLUDE_DIR} + ${WAYLAND_CLIENT_INCLUDE_DIRS} + ${WAYLAND_SERVER_INCLUDE_DIRS} +) + +link_directories( + ${WAYLAND_CLIENT_LIBRARY_DIRS} + ${WAYLAND_SERVER_LIBRARY_DIRS} ) add_library(${PROJECT_NAME} STATIC |