summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f6380ee --- /dev/null +++ b/CMakeLists.txt
@@ -0,0 +1,25 @@
1cmake_minimum_required (VERSION 3.1)
2project (wizard)
3
4find_package(PkgConfig)
5pkg_check_modules(tesseract tesseract REQUIRED)
6pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)
7
8add_subdirectory(vendor/curlcpp)
9
10include_directories(
11 vendor/json
12 vendor/hkutil
13 ${tesseract_INCLUDE_DIRS}
14 ${GraphicsMagick_INCLUDE_DIRS}
15 ${CURLCPP_SOURCE_DIR}/include)
16
17add_executable(wizard wizard.cpp)
18set_property(TARGET wizard PROPERTY CXX_STANDARD 14)
19set_property(TARGET wizard PROPERTY CXX_STANDARD_REQUIRED ON)
20target_link_libraries(
21 wizard
22 ${tesseract_LIBRARIES}
23 ${GraphicsMagick_LIBRARIES}
24 lept
25 curlcpp)