summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMinkyu Kang <mk7.kang@samsung.com>2015-07-03 10:25:22 (GMT)
committerMinkyu Kang <mk7.kang@samsung.com>2015-07-03 12:27:57 (GMT)
commita58229cc16cdb9b5e083fb8e6f1e6250859c6af0 (patch)
treeea9ccca23e592fe4d1ef0ab0cffb02b8c00df950 /CMakeLists.txt
parent7216e7a98a386f0a07ea0b593144668b3f2ba35e (diff)
downloadair_mediahub-a58229cc16cdb9b5e083fb8e6f1e6250859c6af0.zip
air_mediahub-a58229cc16cdb9b5e083fb8e6f1e6250859c6af0.tar.gz
air_mediahub-a58229cc16cdb9b5e083fb8e6f1e6250859c6af0.tar.bz2
viewer: adds playermgr and support playing videorefs/changes/78/42878/4
Werror was disabled due to deprecated compiler warning from sound manager module Change-Id: Ia798d8b4a2900c8b8aa0c71efcf0641c2477b025 Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8077938..45014bc 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,6 +20,7 @@ INCLUDE(FindPkgConfig)
pkg_check_modules(PKGS REQUIRED
elementary
capi-appfw-application
+ capi-media-player
app-utils)
IF(NOT DEFINED PACKAGE_NAME)
@@ -56,6 +57,7 @@ src/layout/music.c
src/util/controller.c
src/util/timeout_handler.c
src/util/util.c
+src/util/playermgr.c
src/data/mediadata.c
)
@@ -77,7 +79,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} -Wall -Werror")
+SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Wall")
TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${PKGS_LDFLAGS})
CONFIGURE_FILE(${PACKAGE_NAME}.xml.in ${PACKAGE_NAME}.xml)