aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
blob: fb779244527a615e58fe4e908481d80837f337f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
find_package(GMock)

if(URLDISPATCHER_FOUND)
    add_definitions( -DHAS_URLDISPATCHER )
endif()

include_directories(
    ${CMAKE_SOURCE_DIR}/src
)

add_executable(tst_utils tst_utils.cpp)
target_link_libraries(tst_utils
    ayatana-common

    ${GTEST_LIBRARIES}
    ${GTEST_BOTH_LIBRARIES}
    ${GMOCK_LIBRARIES}
)
add_test(TstUtils tst_utils)