From e0f5e72e965b8f512ee0bd9c9b4c5f91c3a9d550 Mon Sep 17 00:00:00 2001 From: gangatp <145573667+gangatp@users.noreply.github.com> Date: Tue, 30 Apr 2024 21:33:11 +0530 Subject: [PATCH] Update CMakeLists.txt to ignore cmake_osx_architecture in TESTS Previously libreSSL could not be built on arm64 machines, so there was a flag to build the test only for intel x86_64 machines. After updating the libreSSL library, it might not be the case anymore. So removing the CMAKE_OSX_ARCHITECTURE flag. --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 30a31120a..6384b06e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -237,10 +237,6 @@ option(LIB3MF_TESTS "Switch whether the tests of lib3mf should be build" ON) message("LIB3MF_TESTS ... " ${LIB3MF_TESTS}) if(LIB3MF_TESTS) - if(APPLE) - # libressl only compiles on arm64 - SET(CMAKE_OSX_ARCHITECTURES "x86_64") - endif() enable_testing() add_subdirectory(Tests) endif()