diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b6d991..3a884b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -8,11 +8,15 @@ pkg_check_modules(YamlCpp yaml-cpp REQUIRED) | |||
8 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | 8 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) |
9 | find_package(libxml2 REQUIRED) | 9 | find_package(libxml2 REQUIRED) |
10 | 10 | ||
11 | add_library(verbly verbly/data.cpp verbly/adjective.cpp verbly/noun.cpp verbly/verb.cpp verbly/adverb.cpp verbly/token.cpp verbly/word.cpp) | ||
12 | set_property(TARGET verbly PROPERTY CXX_STANDARD 11) | ||
13 | set_property(TARGET verbly PROPERTY CXX_STANDARD_REQUIRED ON) | ||
14 | |||
11 | include_directories(vendor/twitcurl/libtwitcurl ${LIBXML2_INCLUDE_DIR} ${sqlite3_INCLUDE_DIR}) | 15 | include_directories(vendor/twitcurl/libtwitcurl ${LIBXML2_INCLUDE_DIR} ${sqlite3_INCLUDE_DIR}) |
12 | add_executable(furries furries.cpp) | 16 | add_executable(furries furries.cpp) |
13 | set_property(TARGET furries PROPERTY CXX_STANDARD 11) | 17 | set_property(TARGET furries PROPERTY CXX_STANDARD 11) |
14 | set_property(TARGET furries PROPERTY CXX_STANDARD_REQUIRED ON) | 18 | set_property(TARGET furries PROPERTY CXX_STANDARD_REQUIRED ON) |
15 | target_link_libraries(furries ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl) | 19 | target_link_libraries(furries ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl verbly) |
16 | 20 | ||
17 | add_executable(generator generator.cpp) | 21 | add_executable(generator generator.cpp) |
18 | set_property(TARGET generator PROPERTY CXX_STANDARD 11) | 22 | set_property(TARGET generator PROPERTY CXX_STANDARD 11) |