Fix code for TDIS-5396 2.1b_release accepted/tizen_2.1/20130425.034713 submit/tizen_2.1/20130424.232619
authorhs321.lee <hs321.lee@samsung.com>
Wed, 24 Apr 2013 01:26:40 +0000 (10:26 +0900)
committerhs321.lee <hs321.lee@samsung.com>
Wed, 24 Apr 2013 01:26:40 +0000 (10:26 +0900)
Change-Id: Ib5b60e15f1488996a016b7363bcc99f63e18bbe9
Signed-off-by: hs321.lee <hs321.lee@samsung.com>
CMakeLists.txt

index c170b78..99bdf7c 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)
@@ -170,6 +173,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)