Change-Id: I5d719912c2a1cfad0406590b94e315089acf3367
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
#cmake_policy(SET CMP0002 OLD)
ADD_EXECUTABLE(${DAEMON} ${SRCS})
-TARGET_LINK_LIBRARIES(${DAEMON} ${daemon_pkgs_LIBRARIES})
+TARGET_LINK_LIBRARIES(${DAEMON} ${daemon_pkgs_LIBRARIES} pthread)
INSTALL(TARGETS ${DAEMON} DESTINATION ${BIN_INSTALL_DIR})
#include <ITapiPhonebook.h>
#include <TapiUtility.h>
#include <system_info.h>
+#include <pthread.h>
#include "contacts.h"
SET(LIBNAME contacts-service2)
ADD_EXECUTABLE(${PROJECT_NAME} ${TEST_SRCS})
-TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${test_pkgs_LIBRARIES} ${LIBNAME} -lpthread)
+TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${test_pkgs_LIBRARIES} ${LIBNAME})
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BIN_INSTALL_DIR})