diff options
author | Seungha Son <seungha.son@samsung.com> | 2020-07-20 18:53:42 +0900 |
---|---|---|
committer | Seungha Son <seungha.son@samsung.com> | 2020-07-20 18:53:42 +0900 |
commit | 76489d6570b491c557cfdfd0c54443544c31a808 (patch) | |
tree | a1259553f8eeb74222295982e96a98d047ca9a14 | |
parent | f3f82c7fd5cf44e5ecd4cd304b08c88c1f7f1b98 (diff) | |
download | ttrace-76489d6570b491c557cfdfd0c54443544c31a808.tar.gz ttrace-76489d6570b491c557cfdfd0c54443544c31a808.tar.bz2 ttrace-76489d6570b491c557cfdfd0c54443544c31a808.zip |
Change method to link library
Change-Id: Ib02e1fc6381dfe6f7a00561307d30119b78e4eca
Signed-off-by: Seungha Son <seungha.son@samsung.com>
-rwxr-xr-x | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1e82b2c..373c088 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ SET(SRCS_atrace src/atrace/atrace.cpp) SET(HEADERS_atrace src/ttrace/ttrace.h) INCLUDE(FindPkgConfig) -pkg_check_modules(pkg_atrace REQUIRED zlib) +pkg_check_modules(pkg_atrace REQUIRED zlib libsmack) FOREACH(flag ${pkg_atrace_CXXFLAGS}) SET(EXTRA_CXXFLAGS_common "${EXTRA_CXXFLAGS_common} ${flag}") ENDFOREACH(flag) @@ -122,7 +122,7 @@ ADD_EXECUTABLE(${ATRACE} ${SRCS_atrace}) SET_TARGET_PROPERTIES(${ATRACE} PROPERTIES SOVERSION ${VERSION_MAJOR}) SET_TARGET_PROPERTIES(${ATRACE} PROPERTIES VERSION ${VERSION}) #SET_TARGET_PROPERTIES(${ATRACE} PROPERTIES COMPILE_FLAGS ${EXTRA_CFLAGS_common}) -TARGET_LINK_LIBRARIES(${ATRACE} ${pkg_atrace_LDFLAGS} "-ldl -lsmack") +TARGET_LINK_LIBRARIES(${ATRACE} ${pkg_atrace_LDFLAGS} "-ldl") ADD_EXECUTABLE(${ATRACE_HELPER} ${SRCS_atrace_helper}) |