diff options
author | fanquake <fanquake@gmail.com> | 2024-08-05 13:44:11 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-08-05 14:17:58 +0100 |
commit | a0a9a11642752578fb1f5142c3fb26cb39d1548a (patch) | |
tree | 054554a7ffa154fa1f0b3f12d50b87628727cfa0 /depends/patches | |
parent | 1afa3c84fcdcad3b54ec13f29d7957ec1c2b01d0 (diff) |
depends: fix ZMQ CMake getcachesize check
Fixes #30587.
Diffstat (limited to 'depends/patches')
-rw-r--r-- | depends/patches/zeromq/cacheline_undefined.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/depends/patches/zeromq/cacheline_undefined.patch b/depends/patches/zeromq/cacheline_undefined.patch new file mode 100644 index 0000000000..02bd2a5fe5 --- /dev/null +++ b/depends/patches/zeromq/cacheline_undefined.patch @@ -0,0 +1,15 @@ +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}) |