aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-12-13 09:50:27 -0600
committerCharles Kerr <charles.kerr@canonical.com>2013-12-13 09:50:27 -0600
commit75b0a871e757b1e71539bd0bd8d52065bd2a85ec (patch)
tree0b52c975c34dad37e9200612c4dd899ccc3514df /tests/CMakeLists.txt
parent40f91368f6ac0bb3ebf86e349be0779e6f2746b8 (diff)
downloadayatana-indicator-datetime-75b0a871e757b1e71539bd0bd8d52065bd2a85ec.tar.gz
ayatana-indicator-datetime-75b0a871e757b1e71539bd0bd8d52065bd2a85ec.tar.bz2
ayatana-indicator-datetime-75b0a871e757b1e71539bd0bd8d52065bd2a85ec.zip
in tests/, fix the include dirs to look at the source and binary dirs so we can pick up autogenerated headers
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 0a3284b..60e0507 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -25,8 +25,10 @@ add_custom_command (OUTPUT gschemas.compiled
COMMAND cp -f ${CMAKE_SOURCE_DIR}/data/*gschema.xml ${SCHEMA_DIR}
COMMAND ${COMPILE_SCHEMA_EXECUTABLE} ${SCHEMA_DIR})
-# look for hearder in our src dir, and also in the directories where we autogenerate files...
+# look for headers in our src dir, and also in the directories where we autogenerate files...
include_directories (${CMAKE_SOURCE_DIR}/src)
-include_directories (${CMAKE_CURRENT_BINARY_DIR} ${SERVICE_INCLUDE_DIRS})
+include_directories (${CMAKE_CURRENT_BINARY_DIR})
+include_directories (${SERVICE_DEPS_INCLUDE_DIRS})
+include_directories (${DBUSTEST_INCLUDE_DIRS})