summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolai Merinov <n.merinov@samsung.com>2019-02-08 18:24:36 (GMT)
committerNikolai Merinov <n.merinov@samsung.com>2019-02-08 18:24:36 (GMT)
commit3bce6d6966f3d8c719914f87794ee855bd49661f (patch)
treed42ffa10906ce2ca9c53fba8beed3e56dabd3b5b
parent00559e3812e9ec75058112320307fd1d5b15f1a5 (diff)
downloadair_mediahub-sandbox/nmerinov/llvm.zip
air_mediahub-sandbox/nmerinov/llvm.tar.gz
air_mediahub-sandbox/nmerinov/llvm.tar.bz2
Disable clang specific warningssandbox/nmerinov/llvm
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 396b814..5cc3f6e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -140,7 +140,7 @@ FOREACH(flag ${PKGS_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
ENDFOREACH(flag)
-SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror -fPIE")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall -Werror -fPIE -Wno-enum-conversion")
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PKGS_LDFLAGS})