Skip to content

Commit dae4a1e

Browse files
committed
Build: fix XCTest_PBE missed MPI requirement.
1 parent 2f75188 commit dae4a1e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/module_xc/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ remove_definitions(-DUSE_LIBXC)
22

33
AddTest(
44
TARGET XCTest_PBE
5+
LIBS MPI::MPI_CXX # required by global.h; for details, `remove_definitions(-D__MPI)`.
56
SOURCES test_xc.cpp ../xc_functional.cpp ../xc_functional_wrapper_xc.cpp ../xc_functional_wrapper_gcxc.cpp ../xc_funct_corr_gga.cpp ../xc_funct_corr_lda.cpp ../xc_funct_exch_gga.cpp ../xc_funct_exch_lda.cpp ../xc_funct_hcth.cpp
67
)

0 commit comments

Comments
 (0)