summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-12-08 16:03:35 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-12-08 16:03:35 -0500
commita419bf5aa4ac9aa3b242ac6881c41de18039d0e3 (patch)
treec48a545bce40b19e5f20d97bee42f50592acb800 /CMakeLists.txt
parente10d19ee5fec90f7f57457b74fc3fe18804362ba (diff)
downloadlingo-a419bf5aa4ac9aa3b242ac6881c41de18039d0e3.tar.gz
lingo-a419bf5aa4ac9aa3b242ac6881c41de18039d0e3.tar.bz2
lingo-a419bf5aa4ac9aa3b242ac6881c41de18039d0e3.zip
Made it a Discord bot
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5f09bbd..38883b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -5,21 +5,21 @@ set(CMAKE_BUILD_TYPE Debug)
5 5
6find_package(PkgConfig) 6find_package(PkgConfig)
7pkg_check_modules(yaml-cpp yaml-cpp REQUIRED) 7pkg_check_modules(yaml-cpp yaml-cpp REQUIRED)
8pkg_check_modules(mastodonpp mastodonpp REQUIRED) 8pkg_check_modules(dpp dpp REQUIRED)
9 9
10add_subdirectory(vendor/verbly) 10add_subdirectory(vendor/verbly)
11 11
12include_directories( 12include_directories(
13 ${mastodonpp_INCLUDE_DIRS} 13 ${dpp_INCLUDE_DIRS}
14 vendor/verbly/lib 14 vendor/verbly/lib
15 ${yaml-cpp_INCLUDE_DIRS} 15 ${yaml-cpp_INCLUDE_DIRS}
16 vendor/json) 16 vendor/json)
17 17
18link_directories( 18link_directories(
19 ${mastodonpp_LIBRARY_DIRS} 19 ${dpp_LIBRARY_DIRS}
20 ${yaml-cpp_LIBRARY_DIRS}) 20 ${yaml-cpp_LIBRARY_DIRS})
21 21
22add_executable(lingo lingo.cpp) 22add_executable(lingo lingo.cpp)
23set_property(TARGET lingo PROPERTY CXX_STANDARD 17) 23set_property(TARGET lingo PROPERTY CXX_STANDARD 17)
24set_property(TARGET lingo PROPERTY CXX_STANDARD_REQUIRED ON) 24set_property(TARGET lingo PROPERTY CXX_STANDARD_REQUIRED ON)
25target_link_libraries(lingo verbly ${mastodonpp_LIBRARIES} ${yaml-cpp_LIBRARIES}) 25target_link_libraries(lingo verbly ${dpp_LIBRARIES} ${yaml-cpp_LIBRARIES})