blob: f6380eeaedae457dac51d8dfd003268f7d82e7a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
cmake_minimum_required (VERSION 3.1)
project (wizard)
find_package(PkgConfig)
pkg_check_modules(tesseract tesseract REQUIRED)
pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)
add_subdirectory(vendor/curlcpp)
include_directories(
vendor/json
vendor/hkutil
${tesseract_INCLUDE_DIRS}
${GraphicsMagick_INCLUDE_DIRS}
${CURLCPP_SOURCE_DIR}/include)
add_executable(wizard wizard.cpp)
set_property(TARGET wizard PROPERTY CXX_STANDARD 14)
set_property(TARGET wizard PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(
wizard
${tesseract_LIBRARIES}
${GraphicsMagick_LIBRARIES}
lept
curlcpp)
|