Update change log and spec for wrt-plugins-tizen_0.4.12
[framework/web/wrt-plugins-tizen.git] / src / SecureStorage / CMakeLists.txt
1 SET(TARGET_NAME ${securestorage_target})
2 SET(DESTINATION_NAME ${securestorage_dest})
3
4 PKG_CHECK_MODULES(platform_pkgs_securestorage REQUIRED secure-storage)
5
6 INCLUDE_DIRECTORIES(
7         ${platform_pkgs_securestorage_INCLUDE_DIRS}
8 )
9
10 SET(SRCS
11         plugin_initializer.cpp
12         plugin_config.cpp
13         SecureStorageManager.cpp
14         JSSecureStorageManager.cpp
15 )
16
17 ADD_LIBRARY(${TARGET_NAME} SHARED ${SRCS})
18
19 TARGET_LINK_LIBRARIES(${TARGET_NAME}
20         ${LIBS_COMMON}
21         ${platform_pkgs_securestorage_LIBRARIES}
22 )
23
24 INSTALL(TARGETS ${TARGET_NAME} LIBRARY DESTINATION ${DESTINATION_NAME})
25 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/config.xml DESTINATION  ${DESTINATION_NAME})