diff options
author | wchang kim <wchang.kim@samsung.com> | 2023-07-03 09:43:29 +0900 |
---|---|---|
committer | wchang kim <wchang.kim@samsung.com> | 2023-07-03 09:43:29 +0900 |
commit | 8ffa44aaba985d70b186dc988aea49c0aca41752 (patch) | |
tree | 1b455953b07193b83720313470c371b539568b06 | |
parent | 1039543594c046dad5b47fb4e53b5b077b6ae416 (diff) | |
download | mtp-responder-accepted/tizen_unified.tar.gz mtp-responder-accepted/tizen_unified.tar.bz2 mtp-responder-accepted/tizen_unified.zip |
Fixed the build error using gcc 13tizen_9.0_m2_releaseaccepted/tizen/unified/dev/20230726.115800accepted/tizen/unified/20231215.165100accepted/tizen/9.0/unified/20241030.231913tizen_9.0tizenaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unified
Change-Id: I7c356a68cae1520f30998582a7467e435921047e
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a23036d..85a1a0e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,8 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_FLAGS}") SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${EXTRA_FLAGS} -std=c++11") SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie") +ADD_DEFINITIONS("-Wno-sizeof-array-div") + INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include) SET(REQUIRED_PKGS capi-content-media-content capi-media-metadata-extractor |