about summary refs log tree commit diff stats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-01-20 20:33:04 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-01-20 20:33:04 -0500
commit4d8fd1c470c5f2c190f082683321b40a566cf1c9 (patch)
tree7dbc9eee1c4e995652dba81f46249501d2fea2c5 /CMakeLists.txt
parentb2a56c980ec6f9f32b94c9bd9294da2a1e9aef7c (diff)
downloadfurries-4d8fd1c470c5f2c190f082683321b40a566cf1c9.tar.gz
furries-4d8fd1c470c5f2c190f082683321b40a566cf1c9.tar.bz2
furries-4d8fd1c470c5f2c190f082683321b40a566cf1c9.zip
the furries are no longer depending on pkg-config to link against mysqlclient
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e1ff59b..a754833 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -5,8 +5,7 @@ add_subdirectory(vendor/twitcurl/libtwitcurl)
5 5
6find_package(PkgConfig) 6find_package(PkgConfig)
7pkg_check_modules(YamlCpp yaml-cpp REQUIRED) 7pkg_check_modules(YamlCpp yaml-cpp REQUIRED)
8pkg_check_modules(mysqlclient mysqlclient REQUIRED)
9 8
10include_directories(${mysqlclient_INCLUDE_DIRS} vendor/twitcurl/libtwitcurl) 9include_directories(vendor/twitcurl/libtwitcurl)
11add_executable(furries furries.cpp) 10add_executable(furries furries.cpp)
12target_link_libraries(furries ${YamlCpp_LIBRARIES} ${mysqlclient_LIBRARIES} twitcurl curl) 11target_link_libraries(furries ${YamlCpp_LIBRARIES} mysqlclient twitcurl curl)