diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-01-20 20:33:04 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-01-20 20:33:04 -0500 |
commit | 4d8fd1c470c5f2c190f082683321b40a566cf1c9 (patch) | |
tree | 7dbc9eee1c4e995652dba81f46249501d2fea2c5 /CMakeLists.txt | |
parent | b2a56c980ec6f9f32b94c9bd9294da2a1e9aef7c (diff) | |
download | furries-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.txt | 5 |
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 | ||
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(mysqlclient mysqlclient REQUIRED) | ||
9 | 8 | ||
10 | include_directories(${mysqlclient_INCLUDE_DIRS} vendor/twitcurl/libtwitcurl) | 9 | include_directories(vendor/twitcurl/libtwitcurl) |
11 | add_executable(furries furries.cpp) | 10 | add_executable(furries furries.cpp) |
12 | target_link_libraries(furries ${YamlCpp_LIBRARIES} ${mysqlclient_LIBRARIES} twitcurl curl) | 11 | target_link_libraries(furries ${YamlCpp_LIBRARIES} mysqlclient twitcurl curl) |