cmake_minimum_required(VERSION 3.6)
project(mediaPlay)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/)

find_package(GStreamer)
if(GStreamer_FOUND)
    message(STATUS "GStreamer FOUND!!!")
    include_directories(${GSTREAMER_INCLUDE_DIRS})
endif()
set(SOURCE_FILES MediaPlay.cpp)
add_executable(mediaPlay ${SOURCE_FILES} )
target_link_libraries(mediaPlay ${GSTREAMER_LIBRARIES} glib-2.0 gobject-2.0 gio-2.0)
cmake_minimum_required(VERSION 3.6)
project(mediaPlay)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_FLAGS "-fpermissive ${CMAKE_CXX_FLAGS}")
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/)

find_package(GStreamer)
if(GStreamer_FOUND)
    message(STATUS "GStreamer FOUND!!!")
    include_directories(${GSTREAMER_INCLUDE_DIRS})
endif()
set(SOURCE_FILES MediaPlay.cpp)
add_executable(mediaPlay ${SOURCE_FILES} )
target_link_libraries(mediaPlay ${GSTREAMER_LIBRARIES} glib-2.0 gobject-2.0 gio-2.0)

Add permissive complie option to cmake file.
Add permissive complie option to cmake file.
