Skip to content

Commit

Permalink
Add missing build dependency of hoc_module. (#1277)
Browse files Browse the repository at this point in the history
* Add missing dependency of `hoc_module` on `rxd_cython_generated`
* This declares that src/nrnpython/setup.py depends on generated .cpp
  files such as share/lib/python/neuron/rxd/geometry3d/graphicsPrimitives.cpp
  and fixes build errors.
  • Loading branch information
olupton authored and alexsavulescu committed Jan 24, 2022
1 parent 7ec004e commit dedb06a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nrnpython/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ if(NRN_ENABLE_MODULE_INSTALL)
endforeach(pyexe)

add_dependencies(hoc_module nrniv_lib ${nrnpython_lib_list})
if(NRN_ENABLE_RX3D)
add_dependencies(hoc_module rxd_cython_generated)
endif()

#~~~
# neuron module (possibly with multiple extension versions) was built
Expand Down

0 comments on commit dedb06a

Please sign in to comment.