From: Minkyu Kang Date: Thu, 11 Jun 2015 07:59:32 +0000 (+0900) Subject: add cflags - Wall and Werror X-Git-Tag: accepted/tizen/tv/20150728.070555~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=342fcad5a96d5152126a1b89627d91268c693d5b;p=profile%2Ftv%2Fapps%2Fnative%2Fair_mediahub.git add cflags - Wall and Werror Change-Id: If317b9b7db473e2331dc53454b97df87d2e9bdcb Signed-off-by: Minkyu Kang --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c46965..a0040fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,7 +72,7 @@ ADD_EXECUTABLE(${PROJECT_NAME} ${SRCS}) FOREACH(flag ${PKGS_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") ENDFOREACH(flag) -SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS}") +SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror") TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PKGS_LDFLAGS}) CONFIGURE_FILE(${PACKAGE_NAME}.xml.in ${PACKAGE_NAME}.xml)