find_package(OpenSSL REQUIRED) find_package(OpenCV REQUIRED) add_executable(PassengerStatistics main.cpp ImageUtilities.h ImageUtilities.cpp RtspServer.h RtspServer.cpp VideoInput.h VideoInput.cpp ) target_include_directories(PassengerStatistics PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/rw_mpp/include PRIVATE ${ZLMediaKit_INCLUDE_DIR} ) target_link_directories(PassengerStatistics PRIVATE ${CMAKE_SOURCE_DIR}/3rdparty/rw_mpp/lib PRIVATE ${ZLMediaKit_LIBRARY_DIRS} PRIVATE ${OPENSSL_LIBRARY_DIRS} ) target_link_libraries(PassengerStatistics PRIVATE Kylin::Core PRIVATE OpenSSL::SSL PRIVATE OpenSSL::Crypto PRIVATE rw_mpp PRIVATE mk_api PRIVATE ${OpenCV_LIBS} PRIVATE ${SCTP_LIBRARIES} )