diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a754833..054c972 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -5,7 +5,10 @@ add_subdirectory(vendor/twitcurl/libtwitcurl) | |||
5 | 5 | ||
6 | find_package(PkgConfig) | 6 | find_package(PkgConfig) |
7 | pkg_check_modules(YamlCpp yaml-cpp REQUIRED) | 7 | pkg_check_modules(YamlCpp yaml-cpp REQUIRED) |
8 | pkg_check_modules(sqlite3 sqlite3 REQUIRED) | ||
8 | 9 | ||
9 | include_directories(vendor/twitcurl/libtwitcurl) | 10 | include_directories(vendor/twitcurl/libtwitcurl ${sqlite3_INCLUDE_DIR}) |
10 | add_executable(furries furries.cpp) | 11 | add_executable(furries furries.cpp) |
11 | target_link_libraries(furries ${YamlCpp_LIBRARIES} mysqlclient twitcurl curl) | 12 | set_property(TARGET furries PROPERTY CXX_STANDARD 11) |
13 | set_property(TARGET furries PROPERTY CXX_STANDARD_REQUIRED ON) | ||
14 | target_link_libraries(furries ${sqlite3_LIBRARIES} ${YamlCpp_LIBRARIES} twitcurl curl) | ||