Skip to content

Commit 33b1eb5

Browse files
Critsium-xyclaude
andcommitted
Fix: link read_orb.cpp into MODULE_CELL_read_atoms_helper_test
This test target compiles read_atoms_helper.cpp, which now calls unitcell::read_orb_file, but did not list read_orb.cpp in its SOURCES, causing an undefined-reference link error. Add ../read_orb.cpp so the definition is linked in. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent e37b207 commit 33b1eb5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/source_cell/test/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ AddTest(
108108
LIBS parameter base device
109109
SOURCES read_atoms_helper_test.cpp
110110
../read_atoms_helper.cpp
111+
../read_orb.cpp
111112
../read_stru.cpp
112113
../print_cell.cpp
113114
../atom_spec.cpp

0 commit comments

Comments
 (0)