Merge branch 'events'
[qtgstreamer:qtgstreamer.git] / examples / echo / CMakeLists.txt
1 # This file serves as an example of how to use cmake with QtGstreamer.
2 # It can be used for building this example either in the QtGstreamer source tree or standalone.
3
4 find_package(QtGstreamer REQUIRED)
5 include_directories(${QTGSTREAMER_INCLUDES})
6 add_definitions(${QTGSTREAMER_DEFINITIONS})
7 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${QTGSTREAMER_FLAGS}")
8 add_executable(echo main.cpp)
9 target_link_libraries(echo ${QTGSTREAMER_LIBRARIES})