diff --git a/samples/cvtcolor_demo/src/CMakeLists.txt b/samples/cvtcolor_demo/src/CMakeLists.txt index 3d78a56..6e300e5 100644 --- a/samples/cvtcolor_demo/src/CMakeLists.txt +++ b/samples/cvtcolor_demo/src/CMakeLists.txt @@ -5,6 +5,7 @@ add_executable(rga_cvtcolor_demo target_link_libraries(rga_cvtcolor_demo utils_obj ${RGA_LIB} + dl ) install(TARGETS rga_cvtcolor_demo DESTINATION ${CMAKE_INSTALL_BINDIR}) @@ -15,6 +16,7 @@ add_executable(rga_cvtcolor_csc_demo target_link_libraries(rga_cvtcolor_csc_demo utils_obj ${RGA_LIB} + dl ) install(TARGETS rga_cvtcolor_csc_demo DESTINATION ${CMAKE_INSTALL_BINDIR}) @@ -25,5 +27,6 @@ add_executable(rga_cvtcolor_gray256_demo target_link_libraries(rga_cvtcolor_gray256_demo utils_obj ${RGA_LIB} + dl ) install(TARGETS rga_cvtcolor_gray256_demo DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/samples/cvtcolor_demo/src/rga_cvtcolor_gray256_demo.cpp b/samples/cvtcolor_demo/src/rga_cvtcolor_gray256_demo.cpp index 299af98..e9199df 100644 --- a/samples/cvtcolor_demo/src/rga_cvtcolor_gray256_demo.cpp +++ b/samples/cvtcolor_demo/src/rga_cvtcolor_gray256_demo.cpp @@ -29,7 +29,6 @@ #include #include #include -#include <> #include #include #include