Constrain the monitor build to Linux x86_64 and aarch64.

This commit is contained in:
Bartosz Taudul
2026-08-30 16:06:44 +02:00
parent 601d57de35
commit 38b19d2be6

View File

@@ -12,6 +12,13 @@ project(
VERSION ${TRACY_VERSION_STRING}
)
if(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
message(FATAL_ERROR "tracy-monitor is Linux-only")
endif()
if(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^(x86_64|amd64|aarch64|arm64)$")
message(FATAL_ERROR "tracy-monitor supports x86_64 and aarch64")
endif()
find_package(Threads REQUIRED)
include(${CMAKE_CURRENT_LIST_DIR}/../cmake/config.cmake)