diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-25 14:41:04 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-25 14:41:04 +0800 |
commit | bfcf0d1d2cd754018e922d70e2d8ab0e7c6cc395 (patch) | |
tree | 096dd6fc73462b4b9a42735017ba8e731f1c5007 /indra/cmake/XmlRpcEpi.cmake | |
parent | 633393b7947684d6bef55534a81577d25af64ab5 (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.cmake | 4 |
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 ) |