2 #Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 # @file CMakeLists.txt
17 # @author Michal Eljasiewicz (m.eljasiewic@samsung.com)
21 INCLUDE(FindPkgConfig)
24 PKG_CHECK_MODULES(SMACK_DBUS_TESTS_DEP
31 INCLUDE_DIRECTORIES(SYSTEM
32 ${SMACK_DBUS_TESTS_DEP_INCLUDE_DIRS}
35 SET(TARGET_SMACK_DBUS_TESTS "smack-dbus-tests")
39 SET(SMACK_DBUS_SOURCES
40 ${PROJECT_SOURCE_DIR}/tests/smack-dbus-tests/smack_dbus_tests.cpp
44 ${PROJECT_SOURCE_DIR}/tests/common/
47 ADD_EXECUTABLE(${TARGET_SMACK_DBUS_TESTS} ${SMACK_DBUS_SOURCES})
49 TARGET_LINK_LIBRARIES(${TARGET_SMACK_DBUS_TESTS}
50 ${SMACK_DBUS_TESTS_DEP_LIBRARIES}
57 INSTALL(TARGETS ${TARGET_SMACK_DBUS_TESTS} DESTINATION /usr/bin)