From a3056929ea8381884655a46f80b4c0e1fdb66341 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 7 Oct 2018 15:09:37 -0400 Subject: Working prototype --- CMakeLists.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f6380ee --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,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) -- cgit 1.4.1