pineapple-src/externals/vcpkg/ports/msmpi/mpi-wrapper.cmake

10 lines
343 B
CMake
Raw Normal View History

2022-07-22 21:01:36 -04:00
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})