This library is built with `BOOST_SPIRIT_THREADSAFE` and thus it
requires linking with Boost::thread.
This mistake usually had no effect because other build targets had
this dependency already, but this is fragile and depends on the linker
command parameter order.
Signed-off-by: Max Kellermann <max.kellermann@ionos.com>
add_library(json_spirit STATIC
json_spirit_reader.cpp
json_spirit_writer.cpp)
-target_link_libraries(json_spirit common_utf8)
+target_link_libraries(json_spirit common_utf8 Boost::thread)