mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
f66547f84e
a0a9a11642752578fb1f5142c3fb26cb39d1548a depends: fix ZMQ CMake getcachesize check (fanquake) Pull request description: Fixes #30587. ACKs for top commit: maflcko: ACK a0a9a11642752578fb1f5142c3fb26cb39d1548a hebasto: ACK a0a9a11642752578fb1f5142c3fb26cb39d1548a. On Ubuntu (s390x), I was able to reproduce https://github.com/bitcoin/bitcoin/issues/30587. With this PR building `zeromq` succeeds. TheCharlatan: ACK a0a9a11642752578fb1f5142c3fb26cb39d1548a Tree-SHA512: 70ca50ebe8e36d5a10a2354a1fbed49f5f802ae5115e09686bccca7e5d1da35168e84a6cab40dd2c83f8918889cdfdcbd5d1cbe25273b844c8ddd21865ea6c51
16 lines
450 B
Diff
16 lines
450 B
Diff
Use proper STREQUAL instead of EQUAL to compare strings.txt
|
|
|
|
See: https://github.com/zeromq/libzmq/pull/4711.
|
|
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -476,7 +476,7 @@ execute_process(
|
|
if(CACHELINE_SIZE STREQUAL ""
|
|
OR CACHELINE_SIZE EQUAL 0
|
|
OR CACHELINE_SIZE EQUAL -1
|
|
- OR CACHELINE_SIZE EQUAL "undefined")
|
|
+ OR CACHELINE_SIZE STREQUAL "undefined")
|
|
set(ZMQ_CACHELINE_SIZE 64)
|
|
else()
|
|
set(ZMQ_CACHELINE_SIZE ${CACHELINE_SIZE})
|