use proper STREQUAL instead of EQUAL to compare strings

This commit is contained in:
Alexander Stefanov 2024-07-26 18:59:00 +03:00 committed by Luca Boccassi
parent ee29bcd64a
commit 59c91227b4

View File

@ -492,7 +492,7 @@ execute_process(
if(CACHELINE_SIZE STREQUAL "" if(CACHELINE_SIZE STREQUAL ""
OR CACHELINE_SIZE EQUAL 0 OR CACHELINE_SIZE EQUAL 0
OR CACHELINE_SIZE EQUAL -1 OR CACHELINE_SIZE EQUAL -1
OR CACHELINE_SIZE EQUAL "undefined") OR CACHELINE_SIZE STREQUAL "undefined")
set(ZMQ_CACHELINE_SIZE 64) set(ZMQ_CACHELINE_SIZE 64)
else() else()
set(ZMQ_CACHELINE_SIZE ${CACHELINE_SIZE}) set(ZMQ_CACHELINE_SIZE ${CACHELINE_SIZE})