1
0
forked from ports/contrib

shaderc: updated cmake syntax

This commit is contained in:
Tim Biermann 2020-11-08 12:43:52 +00:00
parent d8b585c792
commit 5458bbba9c
2 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF321OfTZ65bfAIV0z85qB4J/nb+TWyFSGrBo3HRzHVzzG8LoOAQhvuI1FHO2juW6vmGVPcBVvLk2O8eXW9jnW4AU=
SHA256 (Pkgfile) = ccf57bdc4cbadffbe148483c95c009a3b7e6113c59bc83decb8ae92da478cbf5
RWSagIOpLGJF33FNplHeNPoP9lkbKFKPbx1ndr7wagtFF7uFypJM0gwt/BydExxpHLpG8X8vJqLWDJnGPIJmAVaWHoaVgscpCQI=
SHA256 (Pkgfile) = ebd5876780b6dfb8f122238c471a8f46cec45439c58d27184a06cfb4f0ed1dee
SHA256 (.footprint) = a55f4db9a8f36310df010a88256abef6d13753f525ff212c4e7dcb390e6c1e66
SHA256 (shaderc-v2020.3.tar.gz) = e595f71d0db0c37ee959b538cfda16e39e3f0dce8893a0bc0ac0080c342c0275
SHA256 (glslc.1) = 468467ab0ec0eac2b221563ef370826443c22cee55f11f6dc8be81b168e3e492

View File

@ -30,14 +30,14 @@ build() {
"$(prt-get info glslang | awk '/^Version:/ {print $2}')\\n"
EOF
cmake -S$name-$version -Bbuild -GNinja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-Wno-dev \
-DSHADERC_SKIP_TESTS=ON
cmake -S $name-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D SHADERC_SKIP_TESTS=ON \
-Wno-dev
cmake --build build -j ${JOBS:-1}