Skip to content

Commit

Permalink
Fix dynamic Python?
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e committed May 17, 2024
1 parent df64a62 commit ed29f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nrniv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ target_include_directories(
nrniv_lib SYSTEM PUBLIC $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/${NRN_3RDPARTY_DIR}/eigen>)
cpp_cc_configure_sanitizers(TARGET nrniv_lib)
# Source-directory .cpp needs to find generated .hpp.
target_include_directories(nrniv_lib PRIVATE "${NRN_OC_GEN}")
target_include_directories(nrniv_lib PUBLIC $<BUILD_INTERFACE:${NRN_OC_GEN}>)
target_include_directories(nrniv_lib INTERFACE $<INSTALL_INTERFACE:include>)
if(NRN_ENABLE_PYTHON AND NOT NRN_ENABLE_PYTHON_DYNAMIC)
target_link_libraries(nrniv_lib PRIVATE nrnpython)
Expand Down

0 comments on commit ed29f50

Please sign in to comment.