diff --git a/CMakeLists.txt b/CMakeLists.txt index f959b05..40e86b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,9 +50,11 @@ message(STATUS "ITK_DIR=${ITK_DIR} pybind11_DIR=${pybind11_DIR}") if(DEFINED ENV{APPLE}) MESSAGE(STATUS "ARCH VARIABLE SET TO --[$ENV{APPLE_ARM64}]--") if(ENV{APPLE_ARM64} STREQUAL "ON") + MESSAGE(STATUS "SETTING TARGET TO ARM64") set(CMAKE_OSX_ARCHITECTURES "arm64") add_definitions(-DARM64 -DDarwin -DPNG_ARM_NEON_OPT=0) else() + MESSAGE(STATUS "SETTING TARGET TO X86_64") set(CMAKE_OSX_ARCHITECTURES "x86_64") endif() endif()