summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2023-07-19 15:33:28 +0900
committerJinWang An <jinwang.an@samsung.com>2023-07-19 15:33:28 +0900
commit9d7732d0eac873a11ba6912ca50506d71c7f532c (patch)
tree5796770597243f0eed2cc4a999b4a5dc1d7702d5
parent98fe623416969240242386d5f03db880ff468739 (diff)
downloadwatch-setting-tizen.tar.gz
watch-setting-tizen.tar.bz2
watch-setting-tizen.zip
Fix option for gcc 11+ versiontizen
Change-Id: I9090e70d8285b4e5b3cabc4eacd651d50a355c69 Signed-off-by: JinWang An <jinwang.an@samsung.com>
-rwxr-xr-xCMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 441dbc8..e097dc3 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -107,6 +107,7 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/Safety.zip DESTINATION /usr/share
ADD_DEFINITIONS(${pkgs_CFLAGS})
ADD_DEFINITIONS("-fpie")
+ADD_DEFINITIONS("-Wno-format-truncation")
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
ADD_DEFINITIONS("-DFACTORYFS=\"$ENV{FACTORYFS}\"")