Skip to content

Commit 2aa4524

Browse files
committed
Complete CMakeLists in module_base
1 parent 5198e2d commit 2aa4524

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/module_base/test/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ AddTest(
8181
)
8282
AddTest(
8383
TARGET base_ylmreal
84-
LIBS parameter ${math_libs} device
84+
LIBS parameter ${math_libs} base device
8585
SOURCES math_ylmreal_test.cpp ../blas_connector.cpp ../math_ylmreal.cpp ../complexmatrix.cpp ../global_variable.cpp ../ylm.cpp ../realarray.cpp ../timer.cpp ../matrix.cpp ../vector3.h
8686
../parallel_reduce.cpp ../parallel_global.cpp ../parallel_comm.cpp ../parallel_common.cpp
8787
../memory.cpp ../libm/branred.cpp ../libm/sincos.cpp
@@ -118,7 +118,7 @@ AddTest(
118118
)
119119
AddTest(
120120
TARGET base_inverse_matrix
121-
LIBS parameter ${math_libs} device
121+
LIBS parameter ${math_libs} base device
122122
SOURCES inverse_matrix_test.cpp ../blas_connector.cpp ../inverse_matrix.cpp ../complexmatrix.cpp ../matrix.cpp ../timer.cpp
123123
)
124124
AddTest(
@@ -134,7 +134,7 @@ AddTest(
134134

135135
AddTest(
136136
TARGET base_math_chebyshev
137-
LIBS parameter ${math_libs} device container
137+
LIBS parameter ${math_libs} base device container
138138
SOURCES math_chebyshev_test.cpp ../blas_connector.cpp ../math_chebyshev.cpp ../tool_quit.cpp ../global_variable.cpp ../timer.cpp ../global_file.cpp ../global_function.cpp ../memory.cpp ../parallel_reduce.cpp
139139
)
140140

@@ -209,7 +209,7 @@ AddTest(
209209
SOURCES clebsch_gordan_coeff_test.cpp ../blas_connector.cpp ../clebsch_gordan_coeff.cpp ../intarray.cpp ../realarray.cpp ../complexmatrix.cpp ../matrix.cpp ../timer.cpp
210210
../math_ylmreal.cpp ../global_variable.cpp ../ylm.cpp ../timer.cpp ../vector3.h ../parallel_reduce.cpp ../parallel_global.cpp ../parallel_comm.cpp ../parallel_common.cpp
211211
../memory.cpp ../libm/branred.cpp ../libm/sincos.cpp ../inverse_matrix.cpp ../lapack_connector.h
212-
LIBS parameter ${math_libs} device
212+
LIBS parameter ${math_libs} base device
213213
)
214214

215215
AddTest(

0 commit comments

Comments
 (0)