From fb3137ca76fdd2cff74153ae74195c0ab84205d0 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Tue, 29 Oct 2024 14:45:16 -0500 Subject: [PATCH] Enable threads for Windows --- CMakeLists.txt | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9cb7132abb3..d10f0402d5f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,6 @@ cmake_minimum_required (VERSION 3.18) +# set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE) +set(CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "" FORCE) project (HDF5 C) if (POLICY CMP0074) @@ -558,14 +560,6 @@ endif () set (CMAKE_POSITION_INDEPENDENT_CODE ON) -#----------------------------------------------------------------------------- -# perl is used in some optional src and tests, check availability -find_package (Perl) -if (PERL_FOUND) - set (H5_PERL_FOUND YES) -endif () -#----------------------------------------------------------------------------- - #----------------------------------------------------------------------------- # Option to Build Static executables #-----------------------------------------------------------------------------