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

SET(CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -no-pie")

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)