diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-02-03 10:52:42 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-02-03 10:52:42 -0500 |
commit | ca6f051c611a378e772994fd83e92bc50c87d46b (patch) | |
tree | e57cbcc6643f60ac4c256cbced8785f382b918cc /CMakeLists.txt | |
parent | 6de0b5ce131746c88b7040ddde1e9b84f29cece3 (diff) | |
download | lingo-ca6f051c611a378e772994fd83e92bc50c87d46b.tar.gz lingo-ca6f051c611a378e772994fd83e92bc50c87d46b.tar.bz2 lingo-ca6f051c611a378e772994fd83e92bc50c87d46b.zip |
Middle green is now like a captcha
refs #12
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 56082ac..a67107b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -6,6 +6,7 @@ set(CMAKE_BUILD_TYPE Debug) | |||
6 | find_package(PkgConfig) | 6 | find_package(PkgConfig) |
7 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) | 7 | pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) |
8 | pkg_check_modules(dpp dpp REQUIRED) | 8 | pkg_check_modules(dpp dpp REQUIRED) |
9 | pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED) | ||
9 | 10 | ||
10 | add_subdirectory(vendor/curlcpp) | 11 | add_subdirectory(vendor/curlcpp) |
11 | add_subdirectory(vendor/verbly) | 12 | add_subdirectory(vendor/verbly) |
@@ -15,13 +16,15 @@ include_directories( | |||
15 | vendor/verbly/lib | 16 | vendor/verbly/lib |
16 | ${yaml-cpp_INCLUDE_DIRS} | 17 | ${yaml-cpp_INCLUDE_DIRS} |
17 | ${CURLCPP_SOURCE_DIR}/include | 18 | ${CURLCPP_SOURCE_DIR}/include |
18 | vendor/json) | 19 | vendor/json |
20 | ${GraphicsMagick_INCLUDE_DIRS}) | ||
19 | 21 | ||
20 | link_directories( | 22 | link_directories( |
21 | ${dpp_LIBRARY_DIRS} | 23 | ${dpp_LIBRARY_DIRS} |
22 | ${yaml-cpp_LIBRARY_DIRS}) | 24 | ${yaml-cpp_LIBRARY_DIRS} |
25 | ${GraphicsMagick_LIBRARY_DIRS}) | ||
23 | 26 | ||
24 | add_executable(lingo lingo.cpp imagenet.cpp) | 27 | add_executable(lingo lingo.cpp imagenet.cpp) |
25 | set_property(TARGET lingo PROPERTY CXX_STANDARD 17) | 28 | set_property(TARGET lingo PROPERTY CXX_STANDARD 17) |
26 | set_property(TARGET lingo PROPERTY CXX_STANDARD_REQUIRED ON) | 29 | set_property(TARGET lingo PROPERTY CXX_STANDARD_REQUIRED ON) |
27 | target_link_libraries(lingo verbly ${dpp_LIBRARIES} ${yaml-cpp_LIBRARIES} curlcpp curl) | 30 | target_link_libraries(lingo verbly ${dpp_LIBRARIES} ${yaml-cpp_LIBRARIES} curlcpp curl ${GraphicsMagick_LIBRARIES}) |