X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Ftests%2FCMakeLists.txt;h=ead6790e51375f12157abed3fd66a42f47e36a13;hb=6f13ad1989875b5a0ce50b24211fd1fba093735f;hp=774f59ae5fcd93a51bce242292dd7cb375065b37;hpb=863d6041e2ff2daa97fb1befb79dc3a69093e112;p=src%2Fapp-framework-binder.git diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 774f59ae..ead6790e 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -1,5 +1,5 @@ ########################################################################### -# Copyright 2017 IoT.bzh +# Copyright (C) 2017-2019 "IoT.bzh" # # author: José Bollo # @@ -17,3 +17,15 @@ ########################################################################### +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) + add_subdirectory(apiset) + add_subdirectory(apiv3) + add_subdirectory(wrap-json) + add_subdirectory(globset) +else(check_FOUND) + MESSAGE(WARNING "check not found! no test!") +endif(check_FOUND)