summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcskim <charles0.kim@samsung.com>2018-03-20 14:46:11 +0900
committercskim <charles0.kim@samsung.com>2018-03-20 14:46:11 +0900
commita429ff0baa09311ed5a347d4fa4377dd196bc0bc (patch)
tree930f76ed83297664ef78cef5ca0d282bebff1e96
parent466bdefb84230d0633f709499fc586912a4d165c (diff)
downloadattach-panel-document-a429ff0baa09311ed5a347d4fa4377dd196bc0bc.tar.gz
attach-panel-document-a429ff0baa09311ed5a347d4fa4377dd196bc0bc.tar.bz2
attach-panel-document-a429ff0baa09311ed5a347d4fa4377dd196bc0bc.zip
Fix build error in 64bit environment
Signed-off-by: cskim <charles0.kim@samsung.com>
-rwxr-xr-xCMakeLists.txt6
-rwxr-xr-xsrc/CMakeLists.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a6db6ba..cdf217f 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,10 +9,10 @@ ADD_DEFINITIONS("-D_USE_SECURE_LOG_")
# subdir
ADD_SUBDIRECTORY(src)
-ADD_SUBDIRECTORY(res/edje)
-ADD_SUBDIRECTORY(res/edje/icons)
+#ADD_SUBDIRECTORY(res/edje)
+#ADD_SUBDIRECTORY(res/edje/icons)
ADD_SUBDIRECTORY(res/po)
-ADD_SUBDIRECTORY(res/edje/sounds)
+#ADD_SUBDIRECTORY(res/edje/sounds)
CONFIGURE_FILE(attach-panel-document.manifest ${PKGNAME}.manifest)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bfa8c05..464370a 100755
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,7 +40,7 @@ FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} -fvisibility=hidden -Wall")
+SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} -fvisibility=hidden -Wall -fPIC")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_CXXFLAGS}")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_CXX_FLAGS}")