Merge pull request #1633 from junghans/chain.x_install

cmake: install chain.x as well
This commit is contained in:
Axel Kohlmeyer
2019-08-16 12:05:33 -04:00
committed by GitHub

View File

@ -589,6 +589,7 @@ if(BUILD_TOOLS)
enable_language(Fortran)
add_executable(chain.x ${LAMMPS_TOOLS_DIR}/chain.f)
target_link_libraries(chain.x ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
install(TARGETS chain.x DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()
enable_language(C)