summaryrefslogtreecommitdiff
path: root/utilities/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'utilities/CMakeLists.txt')
-rwxr-xr-xutilities/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/utilities/CMakeLists.txt b/utilities/CMakeLists.txt
index 9009483..8559a67 100755
--- a/utilities/CMakeLists.txt
+++ b/utilities/CMakeLists.txt
@@ -13,7 +13,7 @@ MESSAGE(">>> Build type: ${CMAKE_BUILD_TYPE}")
SET(VISIBILITY "-DEXPORT_API=\"__attribute__((visibility(\\\"default\\\")))\"")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VISIBILITY} -fvisibility=hidden")
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--gc-sections")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wl,--gc-sections -fPIE")
##########################################################
# Define Test App
@@ -29,7 +29,7 @@ SET(TEST-APP-SRCS
${CMAKE_SOURCE_DIR}/utilities/test-application/testapp-rule.c
${CMAKE_SOURCE_DIR}/utilities/test-application/testapp-thread.c
${CMAKE_SOURCE_DIR}/utilities/test-application/testapp-others.c
-# ${CMAKE_SOURCE_DIR}/utilities/test-application/testapp-gmime.c
+ ${CMAKE_SOURCE_DIR}/utilities/test-application/testapp-gmime.c
)
INCLUDE_DIRECTORIES(
@@ -42,7 +42,7 @@ INCLUDE_DIRECTORIES(
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(test_app_pkgs REQUIRED glib-2.0 gthread-2.0 vconf uw-imap-toolkit contacts-service2)
+pkg_check_modules(test_app_pkgs REQUIRED glib-2.0 gthread-2.0 vconf uw-imap-toolkit contacts-service2 gmime-2.6)
FOREACH(flag ${test_app_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")