CMake: Use the right target for jsoncpp.

This commit is contained in:
tastytea 2020-01-15 18:25:19 +01:00
parent 2bfd4ee4eb
commit b35e298eea
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ file(GLOB sources *.cpp)
add_executable(mastorss ${sources})
target_link_libraries(mastorss
PRIVATE
jsoncpp restclient-cpp mastodon-cpp::mastodon-cpp
jsoncpp_lib restclient-cpp mastodon-cpp::mastodon-cpp
Boost::filesystem Boost::log Boost::regex)
if(BUILD_SHARED_LIBS)
target_compile_definitions(mastorss PRIVATE "BOOST_ALL_DYN_LINK=1")