fix compile issues

This commit is contained in:
2025-09-05 19:59:51 -05:00
parent e3af31f1e0
commit 4372684d00
4 changed files with 14 additions and 16 deletions

View File

@@ -9,6 +9,8 @@ project('video-streaming-poc', 'cpp', version : '0.0.1-SNAPSHOT',
#=======================================================================================================================
# opencv dependency
opencv = dependency('opencv4', version : '>=4.0.0')
opencv_incl_dir = opencv.get_variable(cmake : 'OpenCV_INCLUDE_DIRECTORIES', pkgconfig : 'includedir')
include = include_directories(opencv_incl_dir)
# boost dependency
boost = dependency('boost')
@@ -27,7 +29,9 @@ server = common + ['server.cpp']
#=======================================================================================================================
# client executable
client_exe = executable('client', client,
dependencies : [opencv, boost])
dependencies : [opencv, boost],
include_directories : include)
# server executable
server_exe = executable('server', server,
dependencies : [opencv, boost])
dependencies : [opencv, boost],
include_directories : include)