Minor change

This commit is contained in:
Alexey Milovidov 2021-10-12 05:41:05 +03:00
parent d0f7a10c6a
commit b1ea87907c

View File

@ -24,7 +24,7 @@ endif()
execute_process(COMMAND uname -s OUTPUT_VARIABLE OS)
execute_process(COMMAND uname -m OUTPUT_VARIABLE ARCH)
if (OS MATCHES "Linux" AND NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if (OS MATCHES "Linux" AND NOT DEFINED CMAKE_TOOLCHAIN_FILE AND NOT UNBUNDLED)
if (ARCH MATCHES "amd64|x86_64")
set (CMAKE_TOOLCHAIN_FILE "cmake/linux/toolchain-x86_64.cmake" CACHE INTERNAL "" FORCE)
elseif (ARCH MATCHES "^(aarch64.*|AARCH64.*|arm64.*|ARM64.*)")