diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index ddaa95f8a..652cc26f9 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -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/include/luajit-2.1 /usr/include/lua # 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 cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on .. sudo make install diff --git a/Dockerfile b/Dockerfile index 9d0005f59..e067b92d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -# Install EnTT -RUN git clone https://github.com/skypjack/entt.git && \ +# Install specific EnTT version (the latest version that supports C++17). +RUN git clone --branch v3.16.0 https://github.com/skypjack/entt.git && \ cd entt/build && \ cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on .. && \ make install && \ diff --git a/README.md b/README.md index 894432638..1221148c3 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,10 @@ #### Install EnTT +Installing last version that supports C++17. + ```sh -git clone https://github.com/skypjack/entt.git +git clone --branch v3.16.0 https://github.com/skypjack/entt.git cd entt mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=ON ..