diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-08-08 17:47:11 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-08-08 17:47:11 +0800 |
commit | ada9a349cab2a04f7f431f6955f3c70c6b740154 (patch) | |
tree | 9838379d19b431b8f39ec7c4fc1874f5e8566651 /indra/cmake/Prebuilt.cmake | |
parent | 4ccc3db9033a039aaa618db85126e669e08ac4c7 (diff) |
FreeBSD uses linux64 package when it's common
For example, emoji_shortcodes, it's actually common, not a platform
specific binary, so it can be used by FBSD as well.
Diffstat (limited to 'indra/cmake/Prebuilt.cmake')
-rw-r--r-- | indra/cmake/Prebuilt.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/cmake/Prebuilt.cmake b/indra/cmake/Prebuilt.cmake index 2078bf29ff..683c30c059 100644 --- a/indra/cmake/Prebuilt.cmake +++ b/indra/cmake/Prebuilt.cmake @@ -50,6 +50,9 @@ macro (use_prebuilt_binary _binary) ) if ("${package_url}" STREQUAL "") string(TOLOWER ${CMAKE_SYSTEM_NAME} system_name) + if (${system_name} MATCHES freebsd) + set(system_name "linux") + endif (${system_name} MATCHES freebsd) execute_process(COMMAND xmllint --xpath "//map/map/map/map/map/map/string[contains(text(),'${_binary}')][contains(text(),'${system_name}64')]/text()" autobuild.xml |