summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-06-11 07:59:32 (GMT)
committerMinkyu Kang <mk7.kang@samsung.com>2015-06-11 07:59:32 (GMT)
commit342fcad5a96d5152126a1b89627d91268c693d5b (patch)
treeebb92d3654e6126234014261dcc1971aaea482a5 /CMakeLists.txt
parent8c86faef56056db0b76672496f2b95b7768b9995 (diff)
downloadair_mediahub-342fcad5a96d5152126a1b89627d91268c693d5b.zip
air_mediahub-342fcad5a96d5152126a1b89627d91268c693d5b.tar.gz
air_mediahub-342fcad5a96d5152126a1b89627d91268c693d5b.tar.bz2
add cflags - Wall and Werrorrefs/changes/64/41164/1
Change-Id: If317b9b7db473e2331dc53454b97df87d2e9bdcb Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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)