mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Fix build (#563)
ref ToruNiina/toml11/commit/22db720ad55c3470c4d036ae74be35e68c761845
This commit is contained in:
1 parent
d47b8868e5
commit
c90d7a66db
6 files changed
+60
-69
No files matched your search
@@ -29,17 +29,12 @@ cd ..
|
||||
git clone https://github.com/PerMalmberg/libcron --depth=1
|
||||
cd libcron
|
||||
git submodule update --init
|
||||
cmake -DCMAKE_BUILD_TYPE=Release .
|
||||
make libcron -j3
|
||||
install -m644 libcron/out/Release/liblibcron.a $PREFIX/lib/
|
||||
install -d $PREFIX/include/libcron/
|
||||
install -m644 libcron/include/libcron/* $PREFIX/include/libcron/
|
||||
install -d $PREFIX/include/date/
|
||||
install -m644 libcron/externals/date/include/date/* $PREFIX/include/date/
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$PREFIX .
|
||||
make libcron install -j3
|
||||
cd ..
|
||||
|
||||
git clone https://github.com/ToruNiina/toml11 --depth=1
|
||||
cd toml11
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX .
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_CXX_STANDARD=11 .
|
||||
make install -j3
|
||||
cd ..
|
||||
Reference in new issue
Block a user