mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 15:37:58 +08:00
Remove workaround for a bug in FindMPI.cmake that was introduced in cmake 3.10.0 and fixed in 3.10.1
This commit is contained in:
parent
be5e529bb3
commit
43aec468a1
@ -207,17 +207,6 @@ macro(find_package name)
|
||||
add_library(tinyxml2 INTERFACE IMPORTED)
|
||||
set_target_properties(tinyxml2 PROPERTIES INTERFACE_LINK_LIBRARIES "tinyxml2_static")
|
||||
endif()
|
||||
elseif("${name}" STREQUAL "MPI")
|
||||
if(MPI_C_LIB_NAMES)
|
||||
set(MPI_C_WORKS TRUE)
|
||||
set(MPI_C_WRAPPER_FOUND TRUE)
|
||||
endif()
|
||||
if(MPI_CXX_LIB_NAMES)
|
||||
set(MPI_CXX_WORKS TRUE)
|
||||
set(MPI_CXX_WRAPPER_FOUND TRUE)
|
||||
set(MPI_CXX_VALIDATE_SKIP_MPICXX TRUE)
|
||||
endif()
|
||||
_find_package(${ARGV})
|
||||
else()
|
||||
_find_package(${ARGV})
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user