Skip to content

Commit ae0ee5a

Browse files
committed
Add missing GTest dependency for DeePKS test support
Shared DeePKS test helpers include GoogleTest headers.
1 parent 5721bbb commit ae0ee5a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/source_lcao/module_deepks/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ set(DEEPKS_UNIT_COMMON_SOURCES
6767
)
6868

6969
add_library(deepks_unit_support OBJECT ${DEEPKS_UNIT_COMMON_SOURCES})
70+
target_link_libraries(deepks_unit_support PRIVATE GTest::gtest)
7071

7172
if(ENABLE_COVERAGE)
7273
add_coverage(deepks_unit_support)

0 commit comments

Comments
 (0)