Modifying code according to coding idioms
[framework/osp/social.git] / CMakeLists.txt
index c170b78..a8593f6 100755 (executable)
@@ -1,5 +1,8 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
 
+SET(CMAKE_INSTALL_PREFIX /usr)
+SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+
 SET (this_target osp-social)
 
 SET(LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/cmake_build_tmp/output)
@@ -23,6 +26,7 @@ INCLUDE_DIRECTORIES(
        /usr/include/osp/app
        /usr/include/osp/base
        /usr/include/osp/media
+       /usr/include/osp/io
        /usr/include/osp/security
        /usr/include/calendar-service2
        )
@@ -41,6 +45,8 @@ SET (${this_target}_SOURCE_FILES
        src/FScl_CategoryImpl.cpp
        src/FSclContact.cpp
        src/FScl_ContactImpl.cpp
+       src/FSclContactAppLaunchData.cpp
+       src/FScl_ContactAppLaunchDataImpl.cpp
        src/FSclContactEvent.cpp
        src/FScl_ContactEventImpl.cpp
        src/FSclEmail.cpp
@@ -170,6 +176,10 @@ INSTALL(DIRECTORY ${LIBRARY_OUTPUT_PATH}/debug/ DESTINATION lib/osp/debug
 INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/inc/ DESTINATION include/osp FILES_MATCHING PATTERN "*.h")
 INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/src/inc/ DESTINATION include/osp/social FILES_MATCHING PATTERN "*.h")
 
+SET(PC_NAME ${this_target})
+SET(PC_REQUIRED ${pc_requires})
+SET(PC_LDFLAGS -l${this_target})
+
 # pkgconfig file
 CONFIGURE_FILE(${this_target}.pc.in ${CMAKE_SOURCE_DIR}/${this_target}.pc @ONLY)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/${this_target}.pc DESTINATION lib/pkgconfig)