mirror of
https://github.com/yuzu-emu/build-environments.git
synced 2024-11-22 11:35:38 +01:00
Merge pull request #68 from abouvier/patch-1
fresh: use catch2 from vcpkg
This commit is contained in:
commit
e02bab4939
@ -122,19 +122,6 @@ COPY qtconcurrentthreadengine.patch /opt/qt515/qtconcurrentthreadengine.patch
|
||||
RUN patch /opt/qt515/include/QtConcurrent/qtconcurrentthreadengine.h /opt/qt515/qtconcurrentthreadengine.patch && \
|
||||
rm /opt/qt515/qtconcurrentthreadengine.patch
|
||||
|
||||
# Install Catch2 manually in order to use older version than vcpkg provides
|
||||
RUN cd /tmp && \
|
||||
git clone --depth 1 --branch v2.13.9 https://github.com/catchorg/Catch2.git && \
|
||||
cmake -B build -S Catch2 -G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCATCH_USE_VALGRIND=OFF \
|
||||
-DCATCH_BUILD_EXAMPLES=OFF \
|
||||
-DCATCH_ENABLE_COVERAGE=OFF \
|
||||
-DCATCH_ENABLE_WERROR=OFF \
|
||||
-DCATCH_BUILD_TESTING=ON && \
|
||||
ninja -C build install && \
|
||||
rm -rf build Catch2
|
||||
|
||||
# Tell CMake to use vcpkg when looking for packages
|
||||
ENV VCPKG_TOOLCHAIN_FILE=/home/yuzu/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
|
||||
@ -145,6 +132,7 @@ RUN cd /home/yuzu &&\
|
||||
cd vcpkg &&\
|
||||
./bootstrap-vcpkg.sh &&\
|
||||
./vcpkg install \
|
||||
catch2 \
|
||||
fmt \
|
||||
lz4 \
|
||||
nlohmann-json \
|
||||
|
Loading…
Reference in New Issue
Block a user