diff options
author | Klaas Freitag <freitag@owncloud.com> | 2014-01-23 16:20:01 +0400 |
---|---|---|
committer | Klaas Freitag <freitag@owncloud.com> | 2014-01-23 16:23:27 +0400 |
commit | 3d6718315cdac1db984a5801616c57483259d749 (patch) | |
tree | fb9bce9d5148e628a0e8c793df49e22e792cb271 /test/CMakeLists.txt | |
parent | 5841cf40204c2f4cb55d1afffb5ca1450bc67c77 (diff) |
Fix Include dirs and add tests.
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 46ca04ea1..0bebef186 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,7 +1,12 @@ -include_directories(${CMAKE_CURRENT_LIST_DIR}/../src) -include_directories(${CSYNC_INCLUDE_DIR}/csync ${CSYNC_INCLUDE_DIR} ${CSYNC_INCLUDE_DIR}/httpbf/src ${CSYNC_BUILD_PATH}/src) +include_directories(${CMAKE_BINARY_DIR}/csync ${CMAKE_BINARY_DIR}/csync/src ${CMAKE_BINARY_DIR}/src) +include_directories(${CMAKE_SOURCE_DIR}/csync/src/ ${CMAKE_SOURCE_DIR}/csync/src/httpbf/src) include(owncloud_add_test.cmake) owncloud_add_test(OwncloudPropagator) owncloud_add_test(Utility) -owncloud_add_test(FolderWatcherPrivate) + +if( UNIX AND NOT APPLE ) + owncloud_add_test(InotifyWatcher) +endif(UNIX AND NOT APPLE) + +owncloud_add_test(FolderWatcher) |