1 2 3 4
rkcommon provides CMake targets: find_package(rkcommon CONFIG REQUIRED) target_link_libraries(main PRIVATE rkcommon::rkcommon)