File size: 474 Bytes
3040ac4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cmake_minimum_required(VERSION 3.10)
project(imatchui)

set(OpenCV_DIR /usr/include/opencv4)
find_package(OpenCV REQUIRED)

find_package(Boost REQUIRED COMPONENTS system)
if(Boost_FOUND)
  include_directories(${Boost_INCLUDE_DIRS})
endif()

add_executable(client client.cpp)

target_include_directories(client PRIVATE ${Boost_LIBRARIES}
                                          ${OpenCV_INCLUDE_DIRS})

target_link_libraries(client PRIVATE curl jsoncpp b64 ${OpenCV_LIBS})