xref: /OK3568_Linux_fs/external/linux-rga/samples/transform_demo/src/CMakeLists.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# rga_transform_rotate_demo
2SET(DEMO_NAME rga_transform_rotate_demo)
3add_executable(${DEMO_NAME}
4    ${DEMO_NAME}.cpp
5)
6target_link_libraries(${DEMO_NAME}
7    utils_obj
8    ${RGA_LIB}
9)
10install(TARGETS ${DEMO_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
11
12# rga_transform_flip_demo
13SET(DEMO_NAME rga_transform_flip_demo)
14add_executable(${DEMO_NAME}
15    ${DEMO_NAME}.cpp
16)
17target_link_libraries(${DEMO_NAME}
18    utils_obj
19    ${RGA_LIB}
20)
21install(TARGETS ${DEMO_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
22
23# rga_transform_rotate_flip_demo
24SET(DEMO_NAME rga_transform_rotate_flip_demo)
25add_executable(${DEMO_NAME}
26    ${DEMO_NAME}.cpp
27)
28target_link_libraries(${DEMO_NAME}
29    utils_obj
30    ${RGA_LIB}
31)
32install(TARGETS ${DEMO_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
33
34