3 # handle native python installs separately from the others
5 # install the hoomd runner script to transparently process hoomd into python
6 install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/hoomd
7 DESTINATION ${BIN_INSTALL_DIR}
10 # setup and install the hoomd executable
11 set(_hoomd_run_input ${CMAKE_CURRENT_SOURCE_DIR}/hoomd_run.in)
13 add_executable(hoomd hoomd.cc)
14 target_link_libraries(hoomd libhoomd ${HOOMD_COMMON_LIBS})
15 fix_cudart_rpath(hoomd)
17 # set the rpath so that the exe can find libs stashed in lib/hoomd/python-module
18 set_target_properties(hoomd PROPERTIES INSTALL_RPATH "\\\$ORIGIN/../lib/hoomd/python-module")
20 # install the executable
22 RUNTIME DESTINATION ${BIN_INSTALL_DIR})
23 endif (PYTHON_SITEDIR)