mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-24 05:17:56 +08:00
75536e7c61
* [mpi] Add cmake wrapper to fix bug getting MPI_${LANG}_ADDITIONAL_INCLUDE_DIRS when calling FindMPI.cmake * version * Move wrapper to msmpi, only copy the wrapper in the meta port installation * version * typo * version * Apply suggestion * version * move unset before _find_package * version * Add double quotes * version * Fix * version * Don't double quote list! * version * Apply suggestion * version
10 lines
343 B
CMake
10 lines
343 B
CMake
get_filename_component(_IMPORT_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH)
|
|
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
get_filename_component(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
|
|
|
|
# Suitable for FindMPI.cmake line 937
|
|
set(ENV{MSMPI_INC} "${_IMPORT_PREFIX}/include")
|
|
unset(_IMPORT_PREFIX)
|
|
|
|
_find_package(${ARGS})
|