Skip to content

Commit 1d40321

Browse files
committed
Correct options for cmake.
1 parent 7676778 commit 1d40321

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

install-cmake.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -957,38 +957,38 @@ SECP256K1_OPTIONS=(
957957
# Define bitcoin-system options.
958958
#------------------------------------------------------------------------------
959959
BITCOIN_SYSTEM_OPTIONS=(
960-
"--without-tests" \
961-
"--without-examples" \
960+
"-Dwith-tests=no" \
961+
"-Dwith-examples=no" \
962962
"${with_boost}" \
963963
"${with_pkgconfigdir}")
964964

965965
# Define bitcoin-database options.
966966
#------------------------------------------------------------------------------
967967
BITCOIN_DATABASE_OPTIONS=(
968-
"--without-tests" \
969-
"--without-tools" \
968+
"-Dwith-tests=no" \
969+
"-Dwith-tools=no" \
970970
"${with_boost}" \
971971
"${with_pkgconfigdir}")
972972

973973
# Define bitcoin-consensus options.
974974
#------------------------------------------------------------------------------
975975
BITCOIN_CONSENSUS_OPTIONS=(
976-
"--without-tests" \
976+
"-Dwith-tests=no" \
977977
"${with_boost}" \
978978
"${with_pkgconfigdir}")
979979

980980
# Define bitcoin-blockchain options.
981981
#------------------------------------------------------------------------------
982982
BITCOIN_BLOCKCHAIN_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-network options.
989989
#------------------------------------------------------------------------------
990990
BITCOIN_NETWORK_OPTIONS=(
991-
"--without-tests" \
991+
"-Dwith-tests=no" \
992992
"${with_boost}" \
993993
"${with_pkgconfigdir}")
994994

0 commit comments

Comments
 (0)