1 AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/ UNIT_TEST_SRCS)
3 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../)
5 SET(TARGET_UNIT_TEST "unit-test")
7 ADD_EXECUTABLE(${TARGET_UNIT_TEST} ${UNIT_TEST_SRCS})
9 APPLY_PKG_CONFIG(${TARGET_UNIT_TEST} PUBLIC
14 TARGET_LINK_LIBRARIES(${TARGET_UNIT_TEST} PUBLIC ${TARGET_LIB_CAPMGR})
16 INSTALL(TARGETS ${TARGET_UNIT_TEST} DESTINATION bin/capi-appfw-capmgr-ut/)