add_library(search STATIC src/search.cpp) target_include_directories(search PUBLIC include) # Depends on http (curl) and json (RapidJSON wrapper) target_link_libraries(search PUBLIC http json) target_link_libraries(search PRIVATE tomlplusplus::tomlplusplus)