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 May 14, 2021
1 parent 36f4ca2 commit 436150e
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 @@ -248,6 +248,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 436150e

Please sign in to comment.