mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-25 11:37:50 +08:00
e9734e1805
fixes #21646
12 lines
428 B
Diff
12 lines
428 B
Diff
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -1207,7 +1207,8 @@
|
|
IF(NOT HDF5_PARALLEL)
|
|
SET(USE_PARALLEL OFF CACHE BOOL "")
|
|
MESSAGE(STATUS "Cannot find HDF5 library built with parallel support. Disabling parallel build.")
|
|
ELSE()
|
|
FIND_PACKAGE(MPI REQUIRED)
|
|
+ list(REMOVE_ITEM MPI_C_INCLUDE_PATH "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
SET(HDF5_PARALLEL ON CACHE BOOL "")
|
|
SET(USE_PARALLEL ON CACHE BOOL "")
|