specify entt version

This commit is contained in:
MihailRis 2026-02-02 18:59:31 +03:00
parent 6598cbe1f4
commit f0e4e2a324
3 changed files with 6 additions and 4 deletions

View file

@ -44,7 +44,7 @@ jobs:
sudo ln -s /usr/lib/x86_64-linux-gnu/libluajit-5.1.a /usr/lib/x86_64-linux-gnu/liblua-5.1.a sudo ln -s /usr/lib/x86_64-linux-gnu/libluajit-5.1.a /usr/lib/x86_64-linux-gnu/liblua-5.1.a
sudo ln -s /usr/include/luajit-2.1 /usr/include/lua sudo ln -s /usr/include/luajit-2.1 /usr/include/lua
# install EnTT # install EnTT
git clone https://github.com/skypjack/entt.git git clone --branch v3.16.0 https://github.com/skypjack/entt.git
cd entt/build cd entt/build
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on .. cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on ..
sudo make install sudo make install

View file

@ -37,8 +37,8 @@ RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cm
rm cmake-${CMAKE_VERSION}-linux-x86_64.sh rm cmake-${CMAKE_VERSION}-linux-x86_64.sh
# Install EnTT # Install specific EnTT version (the latest version that supports C++17).
RUN git clone https://github.com/skypjack/entt.git && \ RUN git clone --branch v3.16.0 https://github.com/skypjack/entt.git && \
cd entt/build && \ cd entt/build && \
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on .. && \ cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on .. && \
make install && \ make install && \

View file

@ -13,8 +13,10 @@
#### Install EnTT #### Install EnTT
Installing last version that supports C++17.
```sh ```sh
git clone https://github.com/skypjack/entt.git git clone --branch v3.16.0 https://github.com/skypjack/entt.git
cd entt cd entt
mkdir build && cd build mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=ON .. cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=ON ..