Skip to content

Commit 3d933d8

Browse files
committed
Correct options for cmake.
1 parent 2c2c0fa commit 3d933d8

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

install-cmake.sh

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -972,54 +972,54 @@ SECP256K1_OPTIONS=(
972972
# Define bitcoin-system options.
973973
#------------------------------------------------------------------------------
974974
BITCOIN_SYSTEM_OPTIONS=(
975-
"--without-tests" \
976-
"--without-examples" \
975+
"-Dwith-tests=no" \
976+
"-Dwith-examples=no" \
977977
"${with_boost}" \
978978
"${with_pkgconfigdir}")
979979

980980
# Define bitcoin-database options.
981981
#------------------------------------------------------------------------------
982982
BITCOIN_DATABASE_OPTIONS=(
983-
"--without-tests" \
984-
"--without-tools" \
983+
"-Dwith-tests=no" \
984+
"-Dwith-tools=no" \
985985
"${with_boost}" \
986986
"${with_pkgconfigdir}")
987987

988988
# Define bitcoin-consensus options.
989989
#------------------------------------------------------------------------------
990990
BITCOIN_CONSENSUS_OPTIONS=(
991-
"--without-tests" \
991+
"-Dwith-tests=no" \
992992
"${with_boost}" \
993993
"${with_pkgconfigdir}")
994994

995995
# Define bitcoin-blockchain options.
996996
#------------------------------------------------------------------------------
997997
BITCOIN_BLOCKCHAIN_OPTIONS=(
998-
"--without-tests" \
999-
"--without-tools" \
998+
"-Dwith-tests=no" \
999+
"-Dwith-tools=no" \
10001000
"${with_boost}" \
10011001
"${with_pkgconfigdir}")
10021002

10031003
# Define bitcoin-network options.
10041004
#------------------------------------------------------------------------------
10051005
BITCOIN_NETWORK_OPTIONS=(
1006-
"--without-tests" \
1006+
"-Dwith-tests=no" \
10071007
"${with_boost}" \
10081008
"${with_pkgconfigdir}")
10091009

10101010
# Define bitcoin-node options.
10111011
#------------------------------------------------------------------------------
10121012
BITCOIN_NODE_OPTIONS=(
1013-
"--without-tests" \
1014-
"--without-console" \
1013+
"-Dwith-tests=no" \
1014+
"-Dwith-console=no" \
10151015
"${with_boost}" \
10161016
"${with_pkgconfigdir}")
10171017

10181018
# Define bitcoin-protocol options.
10191019
#------------------------------------------------------------------------------
10201020
BITCOIN_PROTOCOL_OPTIONS=(
1021-
"--without-tests" \
1022-
"--without-examples" \
1021+
"-Dwith-tests=no" \
1022+
"-Dwith-examples=no" \
10231023
"${with_boost}" \
10241024
"${with_pkgconfigdir}")
10251025

0 commit comments

Comments
 (0)