diff options
author | Dan Vrátil <dvratil@redhat.com> | 2015-05-18 15:20:45 +0200 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2015-05-18 15:20:45 +0200 |
commit | a882d614ab4500955adb4aa184776c33a06d6a40 (patch) | |
tree | c06e4f9d389bd8c01a6345587dd7f0c89f1e5d33 /tests | |
parent | 5e580299e342bd77fc7479bbfd235f4446d7f05b (diff) | |
download | sink-a882d614ab4500955adb4aa184776c33a06d6a40.tar.gz sink-a882d614ab4500955adb4aa184776c33a06d6a40.zip |
Fix flatbuffers generator for tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 7b97264..35b3996 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -8,11 +8,10 @@ include_directories( | |||
8 | ${CMAKE_CURRENT_SOURCE_DIR}/../examples/ | 8 | ${CMAKE_CURRENT_SOURCE_DIR}/../examples/ |
9 | ) | 9 | ) |
10 | 10 | ||
11 | generate_flatbuffers(calendar) | ||
12 | |||
13 | macro(manual_tests) | 11 | macro(manual_tests) |
14 | foreach(_testname ${ARGN}) | 12 | foreach(_testname ${ARGN}) |
15 | add_executable(${_testname} ${_testname}.cpp) | 13 | add_executable(${_testname} ${_testname}.cpp) |
14 | generate_flatbuffers(${_testname} calendar) | ||
16 | qt5_use_modules(${_testname} Core Test Concurrent) | 15 | qt5_use_modules(${_testname} Core Test Concurrent) |
17 | target_link_libraries(${_testname} akonadi2common libhawd) | 16 | target_link_libraries(${_testname} akonadi2common libhawd) |
18 | endforeach(_testname) | 17 | endforeach(_testname) |
@@ -21,6 +20,7 @@ endmacro(manual_tests) | |||
21 | macro(auto_tests) | 20 | macro(auto_tests) |
22 | foreach(_testname ${ARGN}) | 21 | foreach(_testname ${ARGN}) |
23 | add_executable(${_testname} ${_testname}.cpp) | 22 | add_executable(${_testname} ${_testname}.cpp) |
23 | generate_flatbuffers(${_testname} calendar) | ||
24 | add_test(${_testname} ${_testname}) | 24 | add_test(${_testname} ${_testname}) |
25 | qt5_use_modules(${_testname} Core Test Concurrent) | 25 | qt5_use_modules(${_testname} Core Test Concurrent) |
26 | target_link_libraries(${_testname} akonadi2common libhawd) | 26 | target_link_libraries(${_testname} akonadi2common libhawd) |