mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-26 02:42:25 +00:00
Fix build (#563)
ref ToruNiina/toml11/commit/22db720ad55c3470c4d036ae74be35e68c761845
This commit is contained in:
@@ -30,17 +30,12 @@ git clone https://github.com/PerMalmberg/libcron --depth=1
|
||||
cd libcron
|
||||
git submodule update --init
|
||||
cmake -DCMAKE_BUILD_TYPE=Release .
|
||||
make libcron -j2
|
||||
install -m644 libcron/out/Release/liblibcron.a /usr/lib/
|
||||
install -d /usr/include/libcron/
|
||||
install -m644 libcron/include/libcron/* /usr/include/libcron/
|
||||
install -d /usr/include/date/
|
||||
install -m644 libcron/externals/date/include/date/* /usr/include/date/
|
||||
make libcron install -j2
|
||||
cd ..
|
||||
|
||||
git clone https://github.com/ToruNiina/toml11 --depth=1
|
||||
cd toml11
|
||||
cmake .
|
||||
cmake -DCMAKE_CXX_STANDARD=11 .
|
||||
make install -j4
|
||||
cd ..
|
||||
|
||||
|
||||
Reference in New Issue
Block a user