We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61e1d76 commit cfe37faCopy full SHA for cfe37fa
CMakeLists.txt
@@ -18,6 +18,10 @@ if(NOT DEFINED CRAY AND DEFINED ENV{PE_ENV})
18
set(CRAY true)
19
endif()
20
21
+if(CMAKE_VERSION VERSION_LESS 3.25 AND CMAKE_SYSTEM_NAME STREQUAL "Linux")
22
+ set(LINUX true)
23
+endif()
24
+
25
# --- avoid Anaconda libraries
26
find_package(Python COMPONENTS Interpreter)
27
cmake/hdf5.cmake
@@ -5,7 +5,11 @@ include(GNUInstallDirs)
5
include(ExternalProject)
6
7
if(NOT DEFINED hdf5_key)
8
- set(hdf5_key hdf5-1.10)
+ if(LINUX)
9
+ set(hdf5_key hdf5-1.10)
10
+ else()
11
+ set(hdf5_key hdf5-1.14)
12
+ endif()
13
14
15
if(hdf5_parallel)
0 commit comments