Add Boost::regex to dependencies.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
092a34a1ab
commit
711e3199af
|
@ -35,7 +35,7 @@ steps:
|
|||
- curl -L https://packagecloud.io/mrtazz/restclient-cpp/gpgkey | apt-key add -
|
||||
- apt-get update -q
|
||||
- apt-get install -qy build-essential cmake asciidoc
|
||||
- apt-get install -qy libboost-filesystem-dev libboost-log-dev libjsoncpp-dev catch libcurl4-openssl-dev restclient-cpp libpoco-dev
|
||||
- apt-get install -qy libboost-filesystem-dev libboost-log-dev libboost-regex-dev libjsoncpp-dev catch libcurl4-openssl-dev restclient-cpp libpoco-dev
|
||||
- apt-get -qy install ./mastodon-cpp.deb
|
||||
- rm -rf build && mkdir -p build && cd build
|
||||
- cmake ..
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
include(GNUInstallDirs)
|
||||
|
||||
# The minimum versions should be in Debian oldstable, if possible.
|
||||
find_package(Boost 1.62 REQUIRED COMPONENTS filesystem log)
|
||||
find_package(Boost 1.62 REQUIRED COMPONENTS filesystem log regex)
|
||||
find_package(jsoncpp REQUIRED CONFIG) # 1.7.4 (Debian buster) has no version.
|
||||
find_package(CURL 7.52 REQUIRED)
|
||||
find_package(Threads REQUIRED)
|
||||
|
@ -33,7 +33,7 @@ add_executable(mastorss ${sources})
|
|||
target_link_libraries(mastorss
|
||||
PRIVATE
|
||||
jsoncpp restclient-cpp mastodon-cpp::mastodon-cpp
|
||||
Boost::filesystem Boost::log)
|
||||
Boost::filesystem Boost::log Boost::regex)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
target_compile_definitions(mastorss PRIVATE "BOOST_ALL_DYN_LINK=1")
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue
Block a user