Skip to content

Commit

Permalink
No more NRN_COVERAGE_LIB since #2530
Browse files Browse the repository at this point in the history
  • Loading branch information
alkino committed Apr 23, 2024
1 parent ed95786 commit a8b7aaf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
4 changes: 0 additions & 4 deletions src/nmodl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,4 @@ if(NRN_NMODL_CXX_FLAGS)
target_compile_options(nocmodl PRIVATE ${NRN_NMODL_CXX_FLAGS})
endif()

if(NRN_COVERAGE_FILES)
target_link_libraries(nocmodl ${NRN_COVERAGE_LIB})
endif()

install(TARGETS nocmodl DESTINATION bin)
8 changes: 1 addition & 7 deletions src/nrniv/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -429,12 +429,6 @@ else()
target_link_libraries(nrniv_lib ${X11_LIBRARIES})
endif()

if(NRN_COVERAGE_FILES)
target_link_libraries(nrniv_lib ${NRN_COVERAGE_LIB})
target_link_libraries(modlunit ${NRN_COVERAGE_LIB})
target_link_libraries(nocmodl ${NRN_COVERAGE_LIB})
endif()

# =============================================================================
# Final executable
# =============================================================================
Expand Down Expand Up @@ -464,7 +458,7 @@ endif()
# For now, we keep this distinction as it reduces the PATH and is
# expected when ctypes looks for dlls
# ~~~
install(TARGETS nrniv nocmodl DESTINATION bin)
install(TARGETS nrniv DESTINATION bin)
install(TARGETS nrniv_lib DESTINATION ${NRN_INSTALL_SHARE_LIB_DIR})
if(LIBIVX11DYNAM_NAME)
install(FILES ${PROJECT_BINARY_DIR}/lib/${LIBIVX11DYNAM_NAME} DESTINATION lib)
Expand Down

0 comments on commit a8b7aaf

Please sign in to comment.