summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
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 /src/CMakeLists.txt
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>
Diffstat (limited to 'src/CMakeLists.txt')
-rwxr-xr-xsrc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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}")