cacheline_undefined.patch raw
1 Use proper STREQUAL instead of EQUAL to compare strings.txt
2
3 See: https://github.com/zeromq/libzmq/pull/4711.
4
5 --- a/CMakeLists.txt
6 +++ b/CMakeLists.txt
7 @@ -476,7 +476,7 @@ execute_process(
8 if(CACHELINE_SIZE STREQUAL ""
9 OR CACHELINE_SIZE EQUAL 0
10 OR CACHELINE_SIZE EQUAL -1
11 - OR CACHELINE_SIZE EQUAL "undefined")
12 + OR CACHELINE_SIZE STREQUAL "undefined")
13 set(ZMQ_CACHELINE_SIZE 64)
14 else()
15 set(ZMQ_CACHELINE_SIZE ${CACHELINE_SIZE})
16