diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-09 18:32:34 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-09 18:32:34 -0500 |
commit | be86554f2325427bb9421aa7274d135becab443c (patch) | |
tree | e10394ee21c757b34a6d6e943a16b7e12db38f01 /CMakeLists.txt | |
parent | 1e0fa0b5b760a23a82194a2aecfd8ba3e4114eb9 (diff) | |
download | lingo-be86554f2325427bb9421aa7274d135becab443c.tar.gz lingo-be86554f2325427bb9421aa7274d135becab443c.tar.bz2 lingo-be86554f2325427bb9421aa7274d135becab443c.zip |
Added green hints
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 38883b5..56082ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -7,19 +7,21 @@ 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 | 9 | ||
10 | add_subdirectory(vendor/curlcpp) | ||
10 | add_subdirectory(vendor/verbly) | 11 | add_subdirectory(vendor/verbly) |
11 | 12 | ||
12 | include_directories( | 13 | include_directories( |
13 | ${dpp_INCLUDE_DIRS} | 14 | ${dpp_INCLUDE_DIRS} |
14 | vendor/verbly/lib | 15 | vendor/verbly/lib |
15 | ${yaml-cpp_INCLUDE_DIRS} | 16 | ${yaml-cpp_INCLUDE_DIRS} |
17 | ${CURLCPP_SOURCE_DIR}/include | ||
16 | vendor/json) | 18 | vendor/json) |
17 | 19 | ||
18 | link_directories( | 20 | link_directories( |
19 | ${dpp_LIBRARY_DIRS} | 21 | ${dpp_LIBRARY_DIRS} |
20 | ${yaml-cpp_LIBRARY_DIRS}) | 22 | ${yaml-cpp_LIBRARY_DIRS}) |
21 | 23 | ||
22 | add_executable(lingo lingo.cpp) | 24 | add_executable(lingo lingo.cpp imagenet.cpp) |
23 | set_property(TARGET lingo PROPERTY CXX_STANDARD 17) | 25 | set_property(TARGET lingo PROPERTY CXX_STANDARD 17) |
24 | set_property(TARGET lingo PROPERTY CXX_STANDARD_REQUIRED ON) | 26 | set_property(TARGET lingo PROPERTY CXX_STANDARD_REQUIRED ON) |
25 | target_link_libraries(lingo verbly ${dpp_LIBRARIES} ${yaml-cpp_LIBRARIES}) | 27 | target_link_libraries(lingo verbly ${dpp_LIBRARIES} ${yaml-cpp_LIBRARIES} curlcpp curl) |