Skip to content

Commit 2d49c3d

Browse files
maki49PeizeLin
authored andcommitted
fix compile with UT (#4)
1 parent 5eb2438 commit 2d49c3d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

source/Makefile.Objects

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,12 @@ OBJS_XC=xc_functional.o\
454454
xc_functional_gradcorr.o\
455455
xc_functional_wrapper_xc.o\
456456
xc_functional_wrapper_gcxc.o\
457-
xc_functional_wrapper_tauxc.o\
457+
xc_functional_libxc.o\
458+
xc_functional_libxc_tools.o\
459+
xc_functional_libxc_vxc.o\
460+
xc_functional_libxc_wrapper_xc.o\
461+
xc_functional_libxc_wrapper_gcxc.o\
462+
xc_functional_libxc_wrapper_tauxc.o\
458463
xc_funct_exch_lda.o\
459464
xc_funct_corr_lda.o\
460465
xc_funct_exch_gga.o\

source/module_hamilt_general/module_xc/test/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ AddTest(
44
TARGET XCTest_PBE
55
LIBS MPI::MPI_CXX Libxc::xc parameter # required by global.h; for details, `remove_definitions(-D__MPI)`.
66
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
7+
../xc_functional_libxc_wrapper_gcxc.cpp ../xc_functional_libxc.cpp
78
)
89

910
AddTest(
@@ -17,6 +18,7 @@ AddTest(
1718
TARGET XCTest_PZ_SPN
1819
LIBS MPI::MPI_CXX Libxc::xc parameter # required by global.h; for details, `remove_definitions(-D__MPI)`.
1920
SOURCES test_xc2.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
21+
../xc_functional_libxc_wrapper_gcxc.cpp ../xc_functional_libxc_wrapper_xc.cpp ../xc_functional_libxc.cpp
2022
)
2123

2224

0 commit comments

Comments
 (0)