diff --git a/cmake/source_list_KKRhost.txt b/cmake/source_list_KKRhost.txt index b592b8c7d9c2bd2edbefb18fcc13801344533fba..c80ef24f89fd07e03536c80acb960abe0ec9ec9f 100644 --- a/cmake/source_list_KKRhost.txt +++ b/cmake/source_list_KKRhost.txt @@ -109,6 +109,7 @@ add_library(lib_common STATIC source/common/wronskian.f90 source/common/mathtools.f90 source/common/bfield.f90 + source/common/torque.f90 ) # disable cmake auto add of 'lib' prefix to .so file SET_TARGET_PROPERTIES(lib_common PROPERTIES PREFIX "") @@ -368,7 +369,6 @@ add_library(lib_kkrhost STATIC source/KKRhost/testdim.f90 source/KKRhost/tmat_newsolver.F90 source/KKRhost/tmatimp_newsolver.F90 - source/KKRhost/torque.f90 source/KKRhost/vadd.f90 source/KKRhost/veq.f90 source/KKRhost/vinterface.f90 diff --git a/source/KKRhost/torque.f90 b/source/common/torque.f90 similarity index 100% rename from source/KKRhost/torque.f90 rename to source/common/torque.f90