Skip to content

Commit b3c4e5d

Browse files
committed
Fix post-install check, and make sure it checks only what was intended (finding the header does not need pass by link stage)
1 parent f156f53 commit b3c4e5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

post-install/post-install-test.cmake.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,12 @@ if (MPI_FOUND)
268268
endif()
269269

270270

271-
message("Compiling a simple LPF program with mpimsg engine")
271+
message("Compiling a simple MPI LPF program with mpimsg engine")
272272
# Compile this to check whether mpi.h can be found
273273
execute_process(
274-
COMMAND @bindir@/lpfcc -engine mpimsg -I@common@
275-
@testdir@/func_lpf_hook_subset.mpimsg.c
276-
-o lpfhook_subset_mpimsg_cc
274+
COMMAND @bindir@/lpfcxx -engine mpimsg -I@common@
275+
@testdir@/func_lpf_hook_subset.mpimsg.cpp -c
276+
-o lpfhook_subset_mpimsg_cc.o
277277
WORKING_DIRECTORY @builddir@
278278
RESULT_VARIABLE status
279279
)

0 commit comments

Comments
 (0)