Skip to content

Commit

Permalink
Enable threads for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Oct 29, 2024
1 parent 1e977c1 commit fb3137c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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
#-----------------------------------------------------------------------------
Expand Down

0 comments on commit fb3137c

Please sign in to comment.