diff options
Diffstat (limited to 'src/tests/CMakeLists.txt')
-rw-r--r-- | src/tests/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 774f59ae..7c052f32 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -17,3 +17,11 @@ ########################################################################### +PKG_CHECK_MODULES(check check) +if(check_FOUND) + INCLUDE_DIRECTORIES(${INCLUDE_DIRS} ${check_INCLUDE_DIRS}) + SET(link_libraries ${link_libraries} ${check_LDFLAGS}) + add_subdirectory(session) +else(check_FOUND) + MESSAGE(WARNING "check not found! no test!") +endif(check_FOUND) |