mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
build-style/cmake: change policy to 3.5
Let's see if anything break before we switch the cmake-bootstrap to v4
This commit is contained in:
parent
c04672b87a
commit
587bcae649
1 changed files with 1 additions and 0 deletions
|
@ -76,6 +76,7 @@ _EOF
|
|||
# Remove -pipe: https://gitlab.kitware.com/cmake/cmake/issues/19590
|
||||
CFLAGS="-DNDEBUG ${CFLAGS/ -pipe / }" CXXFLAGS="-DNDEBUG ${CXXFLAGS/ -pipe / }" \
|
||||
cmake ${cmake_args} ${configure_args} \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
|
||||
${LIBS:+-DCMAKE_C_STANDARD_LIBRARIES="$LIBS"} \
|
||||
${LIBS:+-DCMAKE_CXX_STANDARD_LIBRARIES="$LIBS"} \
|
||||
${wrksrc}/${build_wrksrc}
|
||||
|
|
Loading…
Add table
Reference in a new issue