Change-Id: I1f4edcace4401c6ee01fbad14c5cf84812c9a48f
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
/usr/include/network
)
+INCLUDE(FindPkgConfig)
+pkg_check_modules(pkgs REQUIRED
+ haptic
+)
+
+FOREACH(flag ${pkgs_CFLAGS})
+ SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+ENDFOREACH(flag)
+
SET (${this_target}_SOURCE_FILES
FSys_CommunicationDispatcherClient.cpp
FSys_AlarmManager.cpp
## SET LINKER FLAGS
SET(CMAKE_SHARED_LINKER_FLAGS -Wl, --no-undefined)
-TARGET_LINK_LIBRARIES(${this_target} "-lhaptic")
+TARGET_LINK_LIBRARIES(${this_target} ${pkgs_LDFLAGS})
TARGET_LINK_LIBRARIES(${this_target} "-lcapi-system-device")
TARGET_LINK_LIBRARIES(${this_target} "-lcapi-system-power")