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:
Albert Ziegenhagel 2018-01-03 10:58:59 +01:00
parent be5e529bb3
commit 43aec468a1

View File

@ -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()