Skip to content

Commit

Permalink
Tweak install destinations (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloferz authored Aug 30, 2022
2 parents 75c3b47 + a09505f commit 38fa49c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ add_subdirectory(dlext)

# Install
install(TARGETS ${PROJECT_NAME}
DESTINATION ${HOOMD_ROOT}
DESTINATION ${HOOMD_INSTALL_PREFIX}
)

install(DIRECTORY include/
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hoomd/${PROJECT_NAME}"
DESTINATION "${HOOMD_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}/hoomd/${PROJECT_NAME}"
FILES_MATCHING PATTERN "*.h"
)

Expand Down
4 changes: 2 additions & 2 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ fix_cudart_rpath(${pybind11_MODULE_NAME})

# Install the library
install(TARGETS ${pybind11_MODULE_NAME}
DESTINATION "${CMAKE_INSTALL_PREFIX}/${PROJECT_NAME}"
DESTINATION "${HOOMD_INSTALL_PREFIX}/${PROJECT_NAME}"
)

install(DIRECTORY ${PROJECT_NAME}
DESTINATION ${CMAKE_INSTALL_PREFIX}
DESTINATION ${HOOMD_INSTALL_PREFIX}
)

0 comments on commit 38fa49c

Please sign in to comment.