Skip to content

Commit

Permalink
Install nrnunits.lib add configure time
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu committed Sep 26, 2023
1 parent 4fbc171 commit e9c438f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ add_subdirectory(src)
# =============================================================================
# Install unit database to share
# =============================================================================
install(FILES share/nrnunits.lib DESTINATION ${NMODL_INSTALL_DIR_SUFFIX}share/nmodl)
configure_file(share/nrnunits.lib ${CMAKE_CURRENT_BINARY_DIR}/share/nmodl/nrnunits.lib COPYONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/share/nmodl/nrnunits.lib
DESTINATION ${NMODL_INSTALL_DIR_SUFFIX}share/nmodl)

# to print compiler flags in the build status
if(CMAKE_BUILD_TYPE)
Expand Down

0 comments on commit e9c438f

Please sign in to comment.