Skip to content

Commit

Permalink
Also link fmt in Python build
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Jan 16, 2025
1 parent 489c390 commit 65fc1ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nrnpython/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ if(NRN_ENABLE_PYTHON_DYNAMIC)
add_library(nrnpython${pyver} SHARED ${NRNPYTHON_FILES_LIST})
target_include_directories(nrnpython${pyver} BEFORE PUBLIC ${pyinc} ${INCLUDE_DIRS})
target_link_libraries(nrnpython${pyver} PUBLIC nrniv_lib)
target_link_libraries(nrnpython${pyver} PRIVATE ${Readline_LIBRARY} ${nanobind_target})
target_link_libraries(nrnpython${pyver} PRIVATE fmt::fmt ${Readline_LIBRARY} ${nanobind_target})
if(NRN_LINK_AGAINST_PYTHON)
target_link_libraries(nrnpython${pyver} PUBLIC ${pylib})
endif()
Expand Down

0 comments on commit 65fc1ee

Please sign in to comment.