fix compile issues
This commit is contained in:
		| @@ -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) | ||||
		Reference in New Issue
	
	Block a user