diff options
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1e5448d..8e79fd0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -15,7 +15,8 @@ target_link_libraries(gtest ${GTEST_LIBS}) # Name Watch Test ########################### -add_executable (name-watch-test name-watch-test.cc) -target_link_libraries (name-watch-test gtest ${GIO2_LIBRARIES}) +include_directories(${CMAKE_SOURCE_DIR}/src) +add_executable (name-watch-test name-watch-test.cc ${CMAKE_SOURCE_DIR}/src/bus-watch-namespace.c) +target_link_libraries (name-watch-test gtest ${SOUNDSERVICE_LIBRARIES}) add_test(name-watch-test name-watch-test) |