From 6da274b5dd8ab38a9a4c5cc730179a5e5f7765ab Mon Sep 17 00:00:00 2001 From: Pariterre Date: Wed, 14 Aug 2024 10:35:31 -0400 Subject: [PATCH] to remove --- binding/matlab/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/binding/matlab/CMakeLists.txt b/binding/matlab/CMakeLists.txt index d151be04..e4a066a6 100644 --- a/binding/matlab/CMakeLists.txt +++ b/binding/matlab/CMakeLists.txt @@ -1,6 +1,17 @@ project(${EZC3D_NAME}_matlab) cmake_minimum_required(VERSION 3.8) +message(STATUS "Architecture: ${CMAKE_HOST_SYSTEM_PROCESSOR}") +if (NOT CMAKE_APPLE_SILICON_PROCESSOR) + execute_process( + COMMAND uname -m + OUTPUT_VARIABLE CMAKE_APPLE_SILICON_PROCESSOR + ) + message(STATUS "Ye") +endif() +message(STATUS "Architecture: ${CMAKE_APPLE_SILICON_PROCESSOR}") + +message(FATAL_ERROR "coucou") find_package(Matlab REQUIRED COMPONENTS MX_LIBRARY) # Installation path