Skip to content

Commit

Permalink
Install pywrapper even as a submodule. (#1337)
Browse files Browse the repository at this point in the history
Should avoid the upstream CMake having to deal with installing NMODL
internals.
  • Loading branch information
matz-e committed Aug 14, 2024
1 parent 4168b3c commit 14ca6a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pybind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ file(COPY ${NMODL_PROJECT_SOURCE_DIR}/python/nmodl/ext DESTINATION ${CMAKE_BINAR
# things are installed twice with the wheel and in weird places. Let's just
# move the .so libs
# ~~~
if(NOT LINK_AGAINST_PYTHON AND NOT NMODL_AS_SUBPROJECT)
if(NOT LINK_AGAINST_PYTHON)
install(TARGETS pywrapper DESTINATION ${NMODL_INSTALL_DIR_SUFFIX}lib)
if(NMODL_ENABLE_PYTHON_BINDINGS)
install(TARGETS _nmodl DESTINATION nmodl/)
Expand Down

0 comments on commit 14ca6a4

Please sign in to comment.