summaryrefslogtreecommitdiff
path: root/indra/cmake/XmlRpcEpi.cmake
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-08-25 14:41:04 +0800
committerErik Kundiman <erik@megapahit.org>2024-08-25 14:41:04 +0800
commitbfcf0d1d2cd754018e922d70e2d8ab0e7c6cc395 (patch)
tree096dd6fc73462b4b9a42735017ba8e731f1c5007 /indra/cmake/XmlRpcEpi.cmake
parent633393b7947684d6bef55534a81577d25af64ab5 (diff)
Fix macOS architecture comparison operator
cause they're not like 0 valued ${_binary}_installed that it would run lipo -thin on already thinned binaries.
Diffstat (limited to 'indra/cmake/XmlRpcEpi.cmake')
-rw-r--r--indra/cmake/XmlRpcEpi.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/XmlRpcEpi.cmake b/indra/cmake/XmlRpcEpi.cmake
index 756388957f..a008e06d62 100644
--- a/indra/cmake/XmlRpcEpi.cmake
+++ b/indra/cmake/XmlRpcEpi.cmake
@@ -17,7 +17,7 @@ use_prebuilt_binary(xmlrpc-epi)
OUTPUT_VARIABLE xmlrpc-epi_archs
OUTPUT_STRIP_TRAILING_WHITESPACE
)
- if (NOT ${xmlrpc-epi_archs} EQUAL ${CMAKE_OSX_ARCHITECTURES})
+ if (NOT ${xmlrpc-epi_archs} STREQUAL ${CMAKE_OSX_ARCHITECTURES})
execute_process(
COMMAND lipo
libxmlrpc-epi.0.dylib
@@ -25,7 +25,7 @@ use_prebuilt_binary(xmlrpc-epi)
-output libxmlrpc-epi.0.dylib
WORKING_DIRECTORY ${LIBS_PREBUILT_DIR}/lib/release
)
- endif (NOT ${xmlrpc-epi_archs} EQUAL ${CMAKE_OSX_ARCHITECTURES})
+ endif (NOT ${xmlrpc-epi_archs} STREQUAL ${CMAKE_OSX_ARCHITECTURES})
endif (DARWIN)
endif (${LINUX_DISTRO} MATCHES opensuse-tumbleweed OR DARWIN OR NOT USESYSTEMLIBS)
target_link_libraries(ll::xmlrpc-epi INTERFACE xmlrpc-epi )