build-style/cmake: set -Wno-dev

Any developers using CMake on Void hopefully try building with just
CMake before building with xbps-src

https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev
https://web.archive.org/web/20240808144816/https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev
This commit is contained in:
RunningDroid 2024-08-19 18:27:01 -04:00
parent 896abf7b1c
commit b151869fc8
3 changed files with 3 additions and 2 deletions

View file

@ -72,6 +72,9 @@ _EOF
cmake_args+=" -DCMAKE_INSTALL_SBINDIR:PATH=bin"
# https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-Wno-dev
cmake_args+=" -Wno-dev"
export CMAKE_GENERATOR="${CMAKE_GENERATOR:-Ninja}"
# Remove -pipe: https://gitlab.kitware.com/cmake/cmake/issues/19590
CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" \

View file

@ -3,7 +3,6 @@ pkgname=Lucene++
version=3.0.7
revision=15
build_style=cmake
configure_args="-Wno-dev"
makedepends="boost-devel gtest-devel"
short_desc="C++ port of the popular text search engine"
maintainer="Enno Boland <gottox@voidlinux.org>"

View file

@ -12,7 +12,6 @@ build_style=cmake
# intel-media-driver, which is wholly optional and installed only on
# systems with supported CPUs, it doesn't make sense to change the
# compilers flag in use.
configure_args="-Wno-dev"
short_desc="Intel Graphics Memory Management Library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"