diff options
author | JinWang An <jinwang.an@samsung.com> | 2023-07-19 15:33:28 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2023-07-19 15:33:28 +0900 |
commit | 9d7732d0eac873a11ba6912ca50506d71c7f532c (patch) | |
tree | 5796770597243f0eed2cc4a999b4a5dc1d7702d5 | |
parent | 98fe623416969240242386d5f03db880ff468739 (diff) | |
download | watch-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-x | CMakeLists.txt | 1 |
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}\"") |