Skip to content

Commit 65753ca

Browse files
committed
Fix GSPH Python bindings not being compiled
Add pyGSPHModel.cpp to CMakeLists.txt Sources list. The file was added in PR Shamrock-code#1453 but was missing from the build configuration, causing shamrock.get_Model_GSPH() to not be available at runtime.
1 parent aa06bc2 commit 65753ca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/shammodels/gsph/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ cmake_minimum_required(VERSION 3.9)
1111

1212
project(Shammodels_gsph CXX C)
1313

14-
# Sources: GSPH solver, Model, and VTK I/O
14+
# Sources: GSPH solver, Model, VTK I/O, and Python bindings
1515
set(Sources
1616
src/SolverConfig.cpp
1717
src/Solver.cpp
1818
src/Model.cpp
19+
src/pyGSPHModel.cpp
1920
src/modules/UpdateDerivs.cpp
2021
src/modules/io/VTKDump.cpp
2122
)

0 commit comments

Comments
 (0)